View Single Post
Old 04-21-2012, 05:57 AM  
redwhiteandblue
Bollocks
 
redwhiteandblue's Avatar
 
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
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?
redwhiteandblue is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote