1$(document).ready(function() { 2 /* ----- Banner JS ----- */ 3 $("#Slider1").responsiveSlides({ 4 auto: true, 5 pause: false, 6 nav: false, 7 controller: false, 8 speed: 1000, 9 timeout: 6000, 10 namespace: 'Banner', 11 manualControls: '.Banner-Tabs' 12 }); 13 14 $("#Slider2").responsiveSlides({ 15 auto: false, 16 pause: false, 17 nav: false, 18 controller: false, 19 speed: 1000, 20 timeout: 6000, 21 namespace: 'Banner', 22 manualControls: '.Banner-Tabs2' 23 }); 24 25 $("#Slider3").responsiveSlides({ 26 auto: true, 27 pause: false, 28 nav: false, 29 controller: false, 30 speed: 1000, 31 timeout: 6000, 32 namespace: 'Banner', 33 manualControls: '.test-sub' 34 }); 35 36 $("#Slider4").responsiveSlides({ 37 auto: true, 38 pause: true, 39 nav: true, 40 controller: true, 41 speed: 1000, 42 timeout: 6000, 43 namespace: 'Banner4', 44 manualControls: '.Banner-Tabs' 45 }); 46 47 48 $("#Slider5").responsiveSlides({ 49 auto: true, 50 pause: true, 51 nav: true, 52 controller: true, 53 speed: 1000, 54 timeout: 6000, 55 namespace: 'Banner5', 56 manualControls: '.Banner-Tabs' 57 }); 58 59 /* ----- Scroll JS ----- */ 60 $("#flexisel1").flexisel({ 61 visibleItems:5, 62 itemsToScroll: 1, 63 animationSpeed: 1500, 64 infinite: true, 65 navigationTargetSelector: null, 66 autoPlay: { 67 enable: true, 68 interval: 5000, 69 pauseOnHover: true 70 }, 71 responsiveBreakpoints: { 72 portrait: { 73 changePoint:480, 74 visibleItems: 1 75 }, landscape: { 76 changePoint:640, 77 visibleItems: 2 78 }, phablet: { 79 changePoint:780, 80 visibleItems: 3 81 }, tablet: { 82 changePoint:840, 83 visibleItems: 4 84 } 85 } 86 }); 87 88 $("#flexisel2").flexisel({ 89 visibleItems:3, 90 itemsToScroll: 1, 91 animationSpeed: 1500, 92 infinite: true, 93 navigationTargetSelector: null, 94 autoPlay: { 95 enable: true, 96 interval: 5000, 97 pauseOnHover: true 98 }, 99 responsiveBreakpoints: { 100 portrait: { 101 changePoint:480, 102 visibleItems: 1 103 }, landscape: { 104 changePoint:640, 105 visibleItems: 2 106 }, phablet: { 107 changePoint:780, 108 visibleItems: 3 109 }, tablet: { 110 changePoint:840, 111 visibleItems: 4 112 } 113 } 114 }); 115 116 117 // related topics 118if (!$("body").hasClass("home")){ 119 removeParentTopic(); 120} 121 122 function removeParentTopic() { 123 var parentUrl = window.location.pathname.split('/')[1]; 124 $(".tabs li a").each(function (){ 125 var hyperlink = $(this).attr('href'); 126 if (parentUrl === hyperlink) { 127 $(this).parent().hide(); 128 } 129 }) 130 } 131 132 // related topics end 133 134 135 136 var fixmeTop = $('.fixme').offset().top; 137$(window).scroll(function() { 138 var currentScroll = $(window).scrollTop(); 139 if (currentScroll >= fixmeTop) { 140 $('.fixme').css({ 141 position: 'fixed', 142 top: '0', 143 right: '60px' 144 }); 145 } else { 146 $('.fixme').css({ 147 position: 'static' 148 }); 149 } 150}); 151 152 153});
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.