Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • I'm using $(document).ready but I don't see how this would help since the background images are loaded via Javascript. Seems it would still have the same effect since the $(window).load function would fire before the images are loaded. Commented Sep 25, 2012 at 21:31
  • 1
    Add the listener after you include the images...check my edit Commented Sep 25, 2012 at 21:34
  • Oh I see! Wow, you weren't kidding about that load time. Around a full minute. Seems impractically long. I feel if I could just target the css background images, it would make for a more sensible preloader. Commented Sep 25, 2012 at 21:43
  • Yep think so (maybe, but maybe the full minute is just caused by the Vimeo thumbs loading). But can't figure a way to add a listener to all of them... Let me think more hehe Commented Sep 25, 2012 at 21:44
  • Starting to consider caching the images server-side, since the videos won't change once uploaded. Maybe it's a more sensible solution? Would it actually decrease the load time significantly to load from the server instead of the Vimeo server? Commented Sep 25, 2012 at 21:46