...

View Full Version : IE preloader for rolloever doesn't work?



PearlDoves
08-06-2006, 10:19 PM
So I have a splash page that has a rollover image that you click on to enter the site, but I've noticed with IE, that the rolloever doesn't work right away(the image won't change unless you wait a few seconds), even though its something that is suppose to preload. Is this just a bug with IE, or can this be delt with somehow?

probey20
08-31-2006, 04:16 PM
Can you show us your preloader code? The code below should work, if you have it in an external JS file called on the appropriate pages.


<script language="JavaScript">
<!--
image1 = new Image();
image1.src = "cap_primaryNavTabLeft_green.gif";
image2 = new Image();
image2.src = "pixel_primaryNavTabBackground_green.gif";
image3 = new Image();
image3.src = "cap_primaryNavTabMiddle_leftGreen.gif";
image4 = new Image();
image4.src = "cap_primaryNavTabMiddle_rightGreen.gif";
-->
</script>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum