PDA

View Full Version : HTML Rollover with JS



mucho
December 12th, 2005, 04:44 AM
Hi All,

I`ve got this problem with a HTML rollover. For some reason the rollovers stoped working.... but I don`t know why:



<a href="index.html" onmouseover="image1.src='images/home_on.gif';"onmouseout="image1.src='images/home_off.gif';"><img name="image1" border="0" src="images/home_off.gif" alt="home...house">

thanks a bunch,
m.

mucho
December 12th, 2005, 06:05 AM
k, I think I figured it out... even though the JS was in the html earlier, it got kicked out. the hell why?! No idea, but I believe it is some semi prof. too like dreamweaver that acts on its own sometimes.
thx anyways