Alexancho Posted July 28, 2010 Share Posted July 28, 2010 This is a test gallery page:http://puregoldwebsites.com/portfolio/3/Big picture in the middle changes when cursor on a small picture.It works quite fast, but first time after loading it takes more time.Why it is so? All pictures must be available because of preloader() function. Link to comment Share on other sites More sharing options...
justsomeguy Posted July 28, 2010 Share Posted July 28, 2010 The preloader function doesn't work. Since it's in a loop and using the same variable for all images, if you open your site with Firebug and look at the Net tab, you should see several aborted requests and partial content responses. Each image needs its own Javascript object, don't reuse the same one in a loop. Link to comment Share on other sites More sharing options...
Alexancho Posted July 29, 2010 Author Share Posted July 29, 2010 Thank You very much!I changed the script. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.