1var backTop = function () { 2 var scrootp = jQuery(document).scrollTop(); 3 var Heig = document.documentElement.clientHeight; 4 star(Heig, '.back-to-top') 5 jQuery('.totop').click(function () { 6 jQuery('body,html').scrollTop('0') 7 }) 8 9 function star(a, b) { 10 jQuery(window).scroll(function () { 11 if (jQuery(document).scrollTop() > 50) { 12 jQuery(b).stop(true, true).show(); 13 } else { 14 jQuery(b).stop(true, true).hide(); 15 } 16 }) 17 } 18} 19backTop() 20 21 22 jQuery(function() { 23 var bannerSlider = new Slider(jQuery('#banner_tabs'), { 24 time: 5000, 25 delay: 400, 26 event: 'hover', 27 auto: true, 28 mode: 'fade', 29 controller: jQuery('#bannerCtrl'), 30 activeControllerCls: 'active' 31 }); 32 jQuery('#banner_tabs .flex-prev').click(function() { 33 bannerSlider.prev() 34 }); 35 jQuery('#banner_tabs .flex-next').click(function() { 36 bannerSlider.next() 37 }); 38})
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.