raystt
02-02-2003, 08:55 AM
i used the generator for my pre-load-images task and the codes not working, any advice...
Please and Thank You
Please and Thank You
|
Click to See Complete Forum and Search --> : preload-images for rollover-NEED HELP raystt 02-02-2003, 08:55 AM i used the generator for my pre-load-images task and the codes not working, any advice... Please and Thank You Zach Elfers 02-02-2003, 09:03 AM I put two '\' after C: <script language="JavaScript" type="text/JavaScript"> <!-- //Pre-load Images img1 = new Image(w,h); img1.src = "img1.ext"; img2 = new Image(w,h); img2.src = "img2.ext"; //--> </script> ... <a onMouseOver="document.img1.src = 'C:\\img2.ext';" onMouseOut="document.img1.src = 'C:\\img1.ext';"><img name="img1" src="C:\img1.ext" width="w" height="h"></a> That should definitely work. raystt 02-02-2003, 09:19 AM Originally posted by Zach Elfers I put two '\' after C: <script language="JavaScript" type="text/JavaScript"> <!-- //Pre-load Images img1 = new Image(w,h); img1.src = "img1.ext"; img2 = new Image(w,h); img2.src = "img2.ext"; //--> </script> ... <a onMouseOver="document.img1.src = 'C:\\img2.ext';" onMouseOut="document.img1.src = 'C:\\img1.ext';"><img name="img1" src="C:\img1.ext" width="w" height="h"></a> That should definitely work. THANK YOU, it works but question? three (3) ... period marks show up ofter the image. Do u Know why? webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |