Why this code not working? Just because mine is index.php page or what? <A HREF=“pages.html†ONMOUSEOVER=‘rollover.src=“photo.jpg†’ ONMOUSEOUT=‘rollover.src=“photo.jpg†’><CENTER><IMG SRC=“photo.jpg†NAME=“rolloverâ€></CENTER></A>
small letters - not working too. I guess something to do with pages.html; why code has pages word. Tried with index.php too still no.
your rollover and main src images are both set to photo.jpg, so you wouldn't know if it was working. but nonetheless, the quotes should be reversed: <a href="pages.html" ONMOUSEOVER="rollover.src='rollover.jpg'" ONMOUSEOUT="rollover.src='mainimage.jpg'"><CENTER><IMG SRC="mainimage.jpg" NAME="rollover"></CENTER></A> this code above definitely works, but just make sure when you copy it that it is using the double quote rather than the opening/closing quotation characters
I copied and pasted with my images but instead of rollover, it starts blinking or keep flashing. <a href="pages.html" ONMOUSEOVER="rollover.src='rollover.JPG'" ONMOUSEOUT="rollover.src='images/style_one.JPG'"><CENTER><IMG SRC="images/style_one.JPG" NAME="rollover"></CENTER></a>
try to remove the ' copy and paste: <a href="pages.html" ONMOUSEOVER=rollover.src="rollover.JPG" ONMOUSEOUT=rollover.src="images/style_one.JPG"><CENTER><IMG SRC="images/style_one.JPG" NAME="rollover"></CENTER></a> If not then send me the url and I'll check it out.
Yes, copied and pasted and images start flashing like crazy. http://www.kheriart.com/ Just mouseover on the middle thumbnail image and see flashing...