Skip to content

Instantly share code, notes, and snippets.

@mohhasbias mohhasbias/site.js
Created May 1, 2013

Embed
What would you like to do?
example on using modified orbit foundation and lazyload. notice that each time the slide change, it triggers the lazyload to load the image.
$('.products-slider').orbit({
fluid: "1100x350",
timer: false,
afterSlideChange: function(){
this.$slides
.eq(this.activeSlide)
.find('img.lazyload').trigger('appear');
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.