jquery - How to build a javascript preloader for images -
itemprop = "text">
I have a page of thumbnails that changes my ambiguity with the hover with an image swap script created in JPYER . However, when I run it on a live website it is slow and you have to wait to load the second image, so the hover swap can not be done Now how can I see all the images of thumb as a page load Can I load? The site is live
here is html
& lt; Div class = "span-16 last" id = "thumbs" & gt; & Lt; Div class = "span-4" & gt; & Lt; A href = "waterfront.php" & gt; & Lt; Img src = "picture / thumb / thumb1.gif" id = "thumb1" & gt; & Lt; / A & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt ;! - End of thumb - & gt;
Here is jquery
$ ("# thumb1"). Attar ("ARTR" ("source", "images / thumbs / thumb 1.gif");}););};);};}, function () {} $ ("# Thumb1"). Attr ("src", "images / thumbs / thumb1.gif");});
Comments
Post a Comment