PDA

View Full Version : Problems with Javascript rollover


GerardHenninger
06-24-2006, 10:10 AM
Hey, there! I am trying to create a javascript rollover for the basic template.
I use Dreamweavers rollover javascript code because it works well on my other sites. I tried to implement it on my PixelPost site but it doesn't work, no rollover, no errors, nothing happens.

It's this site : http://daily.gerardhenninger.net

Does someone know what I am not seeing?

Thanks.

BTW, this is the template code for the <img> tag :
<img src="images/<IMAGE_NAME>" alt="<IMAGE_TITLE>" title="<IMAGE_TITLE>" width="<IMAGE_WIDTH>" height="<IMAGE_HEIGHT>" id="photo" onmouseover="MM_swapImage('original','','http://daily.gerardhenninger.net/images/_<IMAGE_NAME>',1)" onmouseout="MM_swapImgRestore()" />

GerardHenninger
06-24-2006, 10:23 AM
Hehe, found the error myself...
id="photo" was the problem. I had to supply the "photo" parameter with the script.