1!function ($) { 2 3 $(document).ready(function() { 4 5 $('.pl-slider-container').each(function(){ 6 7 var videoJSPath = $(this).data('videojs') 8 , theDelay = $(this).data('delay') || 12000 9 , theHeight = $(this).data('height') || 500 10 , fullScreen = $(this).data('fullscreen') || "off" 11 12 var revAPI = $(this).find('.pl-slider').revolution({ 13 delay: theDelay, 14 startheight:theHeight, 15 onHoverStop:"on", 16 hideThumbs: 10, 17 navigationType:"bullet", 18 navigationArrows:"solo", 19 navigationStyle:"square", 20 navigationHAlign:"center", 21 navigationVAlign:"bottom", 22 navigationHOffset:0, 23 navigationVOffset:20, 24 soloArrowLeftHalign:"left", 25 soloArrowLeftValign:"center", 26 soloArrowLeftHOffset:0, 27 soloArrowLeftVOffset:0, 28 soloArrowRightHalign:"right", 29 soloArrowRightValign:"center", 30 soloArrowRightHOffset:0, 31 soloArrowRightVOffset:0, 32 touchenabled:"on", 33 stopAtSlide:-1, 34 stopAfterLoops:-1, 35 hideCaptionAtLimit:0, 36 hideAllCaptionAtLilmit:0, 37 hideSliderAtLimit:0, 38 39 shadow:0, 40 videoJsPath:videoJSPath, 41 fullWidth:"on", 42 fullScreen: fullScreen, 43 minFullScreenHeight: 400, 44 fullScreenOffsetContainer: ".pl-fixed-top, #wpadminbar, .pl-toolbox" 45 46 }) 47 48 49 $(this).find('.tp-leftarrow').html('<i class="icon icon-angle-left"></i>') 50 $(this).find('.tp-rightarrow').html('<i class="icon icon-angle-right"></i>') 51 52 revAPI.bind("revolution.slide.onchange",function (e,data) { 53 54 var slider = $(this) 55 , slide = slider.find('ul').find('li').eq( data.slideIndex - 1 ) 56 , container = slider.parent() 57 58 container.removeClass('element-dark element-light') 59 60 if( slide.hasClass('element-dark') ) 61 container.addClass('element-dark') 62 else if( slide.hasClass('element-light') ) 63 container.addClass('element-light') 64 65 66 }); 67 68 69 revAPI.bind("revolution.slide.onafterswap",function (e,data) { 70 71 $(window).trigger('resize') 72 73 $(this).parent().parent().find('.pl-loader').hide() 74 75 $(this).animate({'opacity': 1},500) 76 77 }); 78 79 }) 80 81 }) 82 83 84}(window.jQuery);
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.