Created
September 6, 2013 20:43
-
-
Save goldnuggets24/6469744 to your computer and use it in GitHub Desktop.
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
var n = true; | |
jQuery('#menu-item-27').click(function() { | |
n == false; }); | |
jQuery('.iosSlider').iosSlider({ | |
snapToChildren: true, | |
autoSlide: n, | |
desktopClickDrag: true, | |
keyboardControls: true, | |
autoSlideTimer: 1000, | |
navNextSelector: jQuery(this).closest('.iosSlider').find('.next'), | |
navPrevSelector: jQuery(this).closest('.iosSlider').find('.prev'), | |
navSlideSelector: jQuery('.selectors .item'), | |
scrollbar: true, | |
scrollbarContainer: '#slideshow .scrollbarContainer', | |
scrollbarMargin: '0', | |
scrollbarBorderRadius: '4px', | |
onSlideComplete: slideComplete, | |
onSliderLoaded: function(args){ | |
var otherSettings = { | |
hideControls : true, // Bool, if true, the NAVIGATION ARROWS will be hidden and shown only on mouseover the slider | |
hideCaptions : false // Bool, if true, the CAPTIONS will be hidden and shown only on mouseover the slider | |
} | |
sliderLoaded(args, otherSettings); | |
}, | |
onSlideChange: slideChange, | |
keyboardControls: true, | |
infiniteSlider: true, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment