Created
May 4, 2016 04:47
-
-
Save karki-dennis/33b2f1e5b97e5fc3136acb67997721eb to your computer and use it in GitHub Desktop.
Load flexslider inside fancybox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".fancybox").fancybox({ | |
autoSize: false, // keep this and let the slider to resize itself | |
afterLoad: function () { | |
$('.overlay-slider').flexslider({ | |
animation: "slide", | |
controlNav: false, | |
start: function () { | |
$("#overlay").show() // make parent container visible | |
} | |
}); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment