jquery - Images comes in to the screen when scrolling -
is there plugin can that? when scrolling down images show , slide left or right center. have searched , couldn't find it. know plugin?
thanks in advance..
seems want lazyload plugin effects.
check out fiddle.
i added custom effect, 1 described , bound effect
property on lazyload
initiation.
here's code:
$(function(){ $.fn.extend({ slideinleft: function() { return this.each(function() { $(this).show().css({opacity: 0, position: 'relative', left: "-200px"}); $(this).animate({opacity: 1, left: 0}, 'slow'); }); } }); $("img").show().lazyload({ 'effect': 'slideinleft' }); });
Comments
Post a Comment