Most efficient image preloading for AJAX/JS?

Discussion in 'HTML & Website Design' started by creative4w3, Nov 5, 2008.

  1. #1
    Of course searching G gives a trillion different ways, but I figured I'd ask you guys: what is the most efficient way to preload images for JS and AJAX?

    I've always got the delayed load on JS show/hide type elements and the same goes for AJAX, but I've never seemed to figure out the optimal way to preload (always did the old CSS crap with putting the image on an element that's display: none;, but it seems clunky and in my experience doesn't work on all browsers).

    TY
     
    creative4w3, Nov 5, 2008 IP
  2. rene7705

    rene7705 Peon

    Messages:
    233
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i use jQuery preloader (-->google)
    worx like a charm
     
    rene7705, Nov 8, 2008 IP