1/*! 2 * Custom scripts for jQuery Cycle set up 3 * Version: 1.0 4 * Description: Featured slider to display in header.php 5 */ 6 7jQuery(window).load(function() { 8 9var transition_effect = js_value.transition_effect; 10var transition_delay = js_value.transition_delay; 11var transition_duration = js_value.transition_duration; 12jQuery('.featured-slider').cycle({ 13 fx: transition_effect, // name of transition effect (or comma separated names, ex: 'fade,scrollUp,shuffle') 14 pager: '#controllers', // element, jQuery object, or jQuery selector string for the element to use as pager container 15 prev: '.slide-previous', 16 next: '.slide-next', 17 activePagerClass: 'active', // class name used for the active pager element 18 timeout: transition_delay, // milliseconds between slide transitions (0 to disable auto advance) 19 speed: transition_duration, // speed of the transition (any valid fx speed value) 20 pause: 1, // true to enable "pause on hover" 21 pauseOnPagerHover: 1, // true to pause when hovering over pager link 22 width: '100%', 23 containerResize: 0, // resize container to fit largest slide 24 fit: 1, 25 after: function (){ 26 jQuery(this).parent().css("height", jQuery(this).height()); 27 } 28}); 29 30});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.