Using LazyLoad script to control load

Discussion in 'Programming' started by cryoffalcon, May 10, 2012.

  1. #1
    Hi,
    I am using lazy load and I am successful in using it to make images load when the user scrolls and its not hard it is done just by adding a class named as 'lazy' to the img tag and you are done.
    But now I have something that I want to lazyload it is a part of area which is in footer, I want it to load only when the user scrolls, I applied the lazy class to the span of it but it didn't work.
    Can someone tell me how can it be done?
    here is a test page http://bloghutsbeta.blogspot.com where you can see the footer, the area that I want to load lazily is the one that reads as "Share and be a rainbow in someone else cloud"
    What could be done?
     
    cryoffalcon, May 10, 2012 IP