Hi, all.
I have this script on my clients site, to make 2 images preload before they marquee (...I know... but that's what he asked for...
Problem is, the images are visible as they load up, then just sit there for a half a second, then disappear, and finally the scroll begins.Code:<script> var myimages=new Array() function preloadimages(){ for (i=0;i<preloadimages.arguments.length;i++){ myimages[i]=new Image() myimages[i].src=preloadimages.arguments[i] } } preloadimages("images/banner.gif","images/america.png") </script>
This happens in Firefox, but it seams to work OK in IE.
I need them to not show until the marquee starts.
Can anyone rewrite it so it does that?
I'm no coder, I just copied that off a tutorial site and added my image URL's, so if anyone could edit that for me and post the edit up here, or give me a different script, I'd appreciate it, thanks.




Reply With Quote


Bookmarks