1jQuery(document).ready(function() { 2 var revapi; 3 4 // Make Content Visible 5 jQuery(".fullwidthbanner ul , .fullscreenbanner ul").removeClass('hide'); 6 7 8 /** 9 @HALFSCREEN SLIDER 10 **/ 11 if(jQuery(".fullwidthbanner").length > 0) { 12 13 // Default Thumbs [small] 14 var thumbWidth = 100, 15 thumbHeight = 50, 16 hideThumbs = 200, 17 navigationType = "bullet", 18 navigationArrows = "solo", 19 navigationVOffset = 10; 20 21 // Small Thumbnails 22 if(jQuery(".fullwidthbanner").hasClass('thumb-small')) { 23 var navigationType = "thumb"; 24 } 25 26 // Large Thumbnails 27 if(jQuery(".fullwidthbanner").hasClass('thumb-large')) { 28 var navigationType = "thumb"; 29 thumbWidth = 195, 30 thumbHeight = 95, 31 hideThumbs = 0, 32 navigationArrows = "solo", 33 navigationVOffset = -94; 34 35 // Hide thumbs on mobile - Avoid gaps 36 /** 37 if(jQuery(window).width() < 800) { 38 setTimeout(function() { 39 var navigationVOffset = 10; 40 jQuery("div.tp-thumbs").addClass('hidden'); 41 }, 100); 42 } 43 **/ 44 } 45 46 // Init Revolution Slider 47 revapi = jQuery('.fullwidthbanner').revolution({ 48 dottedOverlay:"none", 49 delay:9000, 50 startwidth:1170, 51 startheight: jQuery(".fullwidthbanner").attr('data-height') || 500, 52 hideThumbs:hideThumbs, 53 54 thumbWidth:thumbWidth, 55 thumbHeight:thumbHeight, 56 thumbAmount: parseInt(jQuery(".fullwidthbanner ul li").length) || 2, 57 58 navigationType:navigationType, 59 navigationArrows:navigationArrows, 60 navigationStyle:jQuery('.fullwidthbanner').attr('data-navigationStyle') || "round", 61 62 touchenabled:"on", 63 onHoverStop:"on", 64 65 navigationHAlign:"center", 66 navigationVAlign:"bottom", 67 navigationHOffset:0, 68 navigationVOffset:navigationVOffset, 69 70 soloArrowLeftHalign:"left", 71 soloArrowLeftValign:"center", 72 soloArrowLeftHOffset:20, 73 soloArrowLeftVOffset:0, 74 75 soloArrowRightHalign:"right", 76 soloArrowRightValign:"center", 77 soloArrowRightHOffset:20, 78 soloArrowRightVOffset:0, 79 80 parallax:"mouse", 81 parallaxBgFreeze:"on", 82 parallaxLevels:[7,4,3,2,5,4,3,2,1,0], 83 84 shadow:0, 85 fullWidth:"on", 86 fullScreen:"off", 87 88 stopLoop:"off", 89 stopAfterLoops:-1, 90 stopAtSlide:-1, 91 92 spinner:"spinner0", 93 shuffle:"off", 94 95 autoHeight:"off", 96 forceFullWidth:"off", 97 98 hideThumbsOnMobile:"off", 99 hideBulletsOnMobile:"on", 100 hideArrowsOnMobile:"on", 101 hideThumbsUnderResolution:0, 102 103 hideSliderAtLimit:0, 104 hideCaptionAtLimit:768, 105 hideAllCaptionAtLilmit:0, 106 startWithSlide:0, 107 fullScreenOffsetContainer: "" 108 }); 109 110 // Used by styleswitcher onle - delete this on production! 111 jQuery("#is_wide, #is_boxed").bind("click", function() { revapi.revredraw(); }); 112 } 113 114 115 /** 116 @FULLSCREEN SLIDER 117 **/ 118 if(jQuery(".fullscreenbanner").length > 0) { 119 120 var tpj=jQuery; 121 tpj.noConflict(); 122 var revapi25; 123 124 tpj(document).ready(function() { 125 126 if(tpj('.fullscreenbanner').revolution != undefined) { 127 revapi25 = tpj('.fullscreenbanner').show().revolution({ 128 dottedOverlay:"none", 129 delay:9000, 130 startwidth:1200, 131 startheight:700, 132 hideThumbs:10, 133 134 thumbWidth:100, 135 thumbHeight:50, 136 thumbAmount:4, 137 138 navigationType:"none", 139 navigationArrows:"solo", 140 navigationStyle:jQuery('.fullscreenbanner').attr('data-navigationStyle') || "round", 141 142 touchenabled:"on", 143 onHoverStop:"on", 144 145 swipe_velocity: 0.7, 146 swipe_min_touches: 1, 147 swipe_max_touches: 1, 148 drag_block_vertical: false, 149 150 keyboardNavigation:"on", 151 152 navigationHAlign:"center", 153 navigationVAlign:"bottom", 154 navigationHOffset:0, 155 navigationVOffset:10, 156 157 soloArrowLeftHalign:"left", 158 soloArrowLeftValign:"center", 159 soloArrowLeftHOffset:20, 160 soloArrowLeftVOffset:0, 161 162 soloArrowRightHalign:"right", 163 soloArrowRightValign:"center", 164 soloArrowRightHOffset:20, 165 soloArrowRightVOffset:0, 166 167 parallax:"mouse", 168 parallaxBgFreeze:"on", 169 parallaxLevels:[7,4,3,2,5,4,3,2,1,0], 170 171 shadow:0, 172 fullWidth:"off", 173 fullScreen:"on", 174 175 stopLoop:"off", 176 stopAfterLoops:-1, 177 stopAtSlide:-1, 178 179 shuffle:"off", 180 181 forceFullWidth:"off", 182 fullScreenAlignForce:"off", 183 184 hideThumbsOnMobile:"off", 185 hideBulletsOnMobile:"on", 186 hideArrowsOnMobile:"off", 187 hideThumbsUnderResolution:0, 188 189 hideSliderAtLimit:0, 190 hideCaptionAtLimit:768, 191 hideAllCaptionAtLilmit:0, 192 startWithSlide:0, 193 fullScreenOffsetContainer: "#topBar, #topNav" 194 }); 195 196 } 197 }); //ready 198 199 } 200 201 202 /** 203 @KEN BURNS 204 **/ 205 if(jQuery(".fullscreenbanner.ken-burns").length > 0) { 206 207 revapi = jQuery('.fullwidthbanner').revolution({ 208 dottedOverlay:"none", 209 delay:9000, 210 startwidth:1170, 211 startheight:400, 212 hideThumbs:200, 213 214 thumbWidth:100,
215 thumbHeight:50, 216 thumbAmount:5, 217 218 navigationType:"bullet", 219 navigationArrows:"solo", 220 navigationStyle:jQuery('.fullwidthbanner').attr('data-navigationStyle') || "round", 221 222 touchenabled:"on", 223 onHoverStop:"off", 224 225 navigationHAlign:"center", 226 navigationVAlign:"bottom", 227 navigationHOffset:0, 228 navigationVOffset:10, 229 230 soloArrowLeftHalign:"left", 231 soloArrowLeftValign:"center", 232 soloArrowLeftHOffset:20, 233 soloArrowLeftVOffset:0, 234 235 soloArrowRightHalign:"right", 236 soloArrowRightValign:"center", 237 soloArrowRightHOffset:20, 238 soloArrowRightVOffset:0, 239 240 shadow:0, 241 fullWidth:"on", 242 fullScreen:"off", 243 244 stopLoop:"off", 245 stopAfterLoops:-1, 246 stopAtSlide:-1, 247 248 249 shuffle:"off", 250 251 autoHeight:"off", 252 forceFullWidth:"off", 253 254 hideThumbsOnMobile:"off", 255 hideBulletsOnMobile:"off", 256 hideArrowsOnMobile:"off", 257 hideThumbsUnderResolution:0, 258 259 hideSliderAtLimit:0, 260 hideCaptionAtLimit:0, 261 hideAllCaptionAtLilmit:0, 262 startWithSlide:0, 263 videoJsPath:"http://server.local/revslider/wp-content/plugins/revslider/rs-plugin/videojs/", 264 fullScreenOffsetContainer: "" 265 }); 266 267 // Used by styleswitcher onle - delete this on production! 268 jQuery("#is_wide, #is_boxed").bind("click", function() { revapi.revredraw(); }); 269 270 } 271 272}); //ready
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.