redwhiteandblue |
04-21-2012 05:57 AM |
Trying to figure out a good lazy load solution
I want to post-load images on my page that are below the fold. I can't seem to find a simple solution that takes into account non-javascipt enabled users. They all seem to rely on having JS/Jquery.
I'm thinking, put the standard HTML in a noscript tag, then have a js function which takes all the elements in the noscript tag and writes them out but omits the src attribute in the img tags (or swaps them for a "loading..." gif), then a post-load function fills all the src attributes back in. Sound reasonable? Will googlebot understand what I'm doing though?
|