onmouseover
Posted: 11 Sep 2011, 16:25
Hello, Im trying to modify the phocagallery.php file (plugins/content...) and to add a mousovereffect. Somehow, when I try to add code to the $output-variable code like this:
<img id ="" src='.$imagearray[1].' onmouseover="alert("hello");" name="a" width="898" height="429" border="0" id="a" />
I get this output:
<img id="" width="898" height="429" border="0" name="a" hello");"="" onmouseover="alert(" src="/wwwnew/Joomla_1.6/images/phocagallery/testredakteur-kuestler20-a5c6/animacin simple2.jpg">
which is of course not working...maybe anyone knows why the code is twisted like that, Im thankful for any input!
<img id ="" src='.$imagearray[1].' onmouseover="alert("hello");" name="a" width="898" height="429" border="0" id="a" />
I get this output:
<img id="" width="898" height="429" border="0" name="a" hello");"="" onmouseover="alert(" src="/wwwnew/Joomla_1.6/images/phocagallery/testredakteur-kuestler20-a5c6/animacin simple2.jpg">
which is of course not working...maybe anyone knows why the code is twisted like that, Im thankful for any input!