Skip to content

Instantly share code, notes, and snippets.

@derred
Forked from ajmalafif/flexslider.md
Created January 22, 2013 10:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save derred/4593674 to your computer and use it in GitHub Desktop.
Save derred/4593674 to your computer and use it in GitHub Desktop.
[wp] - Flexslider personal customization for ajmalafif.com v2
$(window).load(function() {
$('.flexslider').flexslider({
directionNav : false,
animation: "slide",
start: function(slider) {
$('.slides li img').click(function(event){
event.preventDefault();
slider.flexAnimate(slider.getTarget("next"));
});
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment