1//fixed-nav 2// $(document).on("scroll", function() { 3// if ($(document).scrollTop() > 100) { 4// $(".abc-01").removeClass("large-mdzz").addClass("small-mdzz"); 5// } else { 6// $(".abc-01").removeClass("small-mdzz").addClass("large-mdzz"); 7// } 8// }); 9 10!function(t,e){"function"==typeof define&&define.amd?define(function(){return e(t)}):"object"==typeof exports?module.exports=e:t.echo=e(t)}(this,function(t){"use strict";var e,n,o,r,c,a={},d=function(){},u=function(t,e){var n=t.getBoundingClientRect();return n.right>=e.l&&n.bottom>=e.t&&n.left<=e.r&&n.top<=e.b},l=function(){(r||!n)&&(clearTimeout(n),n=setTimeout(function(){a.render(),n=null},o))};return a.init=function(n){n=n||{};var u=n.offset||0,i=n.offsetVertical||u,f=n.offsetHorizontal||u,s=function(t,e){return parseInt(t||e,10)};e={t:s(n.offsetTop,i),b:s(n.offsetBottom,i),l:s(n.offsetLeft,f),r:s(n.offsetRight,f)},o=s(n.throttle,250),r=n.debounce!==!1,c=!!n.unload,d=n.callback||d,a.render(),document.addEventListener?(t.addEventListener("scroll",l,!1),t.addEventListener("load",l,!1)):(t.attachEvent("onscroll",l),t.attachEvent("onload",l))},a.render=function(){for(var n,o,r=document.querySelectorAll("img[data-echo], [data-echo-background]"),l=r.length,i={l:0-e.l,t:0-e.t,b:(t.innerHeight||document.documentElement.clientHeight)+e.b,r:(t.innerWidth||document.documentElement.clientWidth)+e.r},f=0;l>f;f++)o=r[f],u(o,i)?(c&&o.setAttribute("data-echo-placeholder",o.src),null!==o.getAttribute("data-echo-background")?o.style.backgroundImage="url("+o.getAttribute("data-echo-background")+")":o.src=o.getAttribute("data-echo"),c||o.removeAttribute("data-echo"),d(o,"load")):c&&(n=o.getAttribute("data-echo-placeholder"))&&(null!==o.getAttribute("data-echo-background")?o.style.backgroundImage="url("+n+")":o.src=n,o.removeAttribute("data-echo-placeholder"),d(o,"unload"));l||a.detach()},a.detach=function(){document.removeEventListener?t.removeEventListener("scroll",l):t.detachEvent("onscroll",l),clearTimeout(n)},a}); 11echo.init(); 12//å ¨ç«è¯¢ç 13$(document).ready(function(){ 14 15 $("#floatShow").bind("click",function(){ 16 17 $("#onlineService").animate({ 18 height:"show", 19 opacity:"show" 20 }, "normal" ,function(){ 21 $("#onlineService").show(); 22 }); 23 24 $("#floatShow").attr("style","display:none"); 25 $("#floatHide").attr("style","display:block"); 26 27 return false; 28 }); 29 30 $("#floatHide").bind("click",function(){ 31 32 $("#onlineService").animate({ 33 height:"hide", 34 opacity:"hide" 35 }, "normal" ,function(){ 36 $("#onlineService").hide(); 37 }); 38 39 $("#floatShow").attr("style","display:block"); 40 $("#floatHide").attr("style","display:none"); 41 42 return false; 43 }); 44 45}); 46//tab 47// $(function(){ 48// $(document).ready(function() { 49// //Horizontal Tab 50// $('#parentHorizontalTab02').easyResponsiveTabs({ 51// type: 'default', //Types: default, vertical, accordion 52// width: 'auto', //auto or any width like 600px 53// fit: true, // 100% fit in a container 54// tabidentify: 'hor_1', // The tab groups identifier 55// activate: function(event) { // Callback function if tab is switched 56// var $tab = $(this); 57// var $info = $('#nested-tabInfo'); 58// var $name = $('span', $info); 59// $name.text($tab.text()); 60// $info.show(); 61// } 62// }); 63// 64// }); 65// }); 66 67//tab 68// $(function(){ 69// $(document).ready(function() { 70// //Horizontal Tab 71// $('#parentHorizontalTab01').easyResponsiveTabs({ 72// type: 'default', //Types: default, vertical, accordion 73// width: 'auto', //auto or any width like 600px 74// fit: true, // 100% fit in a container 75// tabidentify: 'hor_1', // The tab groups identifier 76// activate: function(event) { // Callback function if tab is switched 77// var $tab = $(this); 78// var $info = $('#nested-tabInfo');
79// var $name = $('span', $info); 80// $name.text($tab.text()); 81// $info.show(); 82// } 83// }); 84// 85// }); 86// }); 87//back-top 88$(function(){ 89 $(window).scroll(function(){ 90 var _top = $(window).scrollTop(); 91 if(_top>300){ 92 $('.totop').fadeIn(600); 93 }else{ 94 $('.totop').fadeOut(600); 95 } 96 }); 97 $(".totop").click(function(){ 98 $("html,body").animate({scrollTop:0},500); 99 }); 100}); 101//back-top 102$(function(){ 103 $(window).scroll(function(){ 104 var _top = $(window).scrollTop(); 105 if(_top>300){ 106 $('.totop_w').fadeIn(600); 107 }else{ 108 $('.totop_w').fadeOut(600); 109 } 110 }); 111 $(".totop_w").click(function(){ 112 $("html,body").animate({scrollTop:0},500); 113 }); 114}); 115 116//products 117// $(function(){ 118// $('.autoplay3').slick({ 119// infinite: true, 120// speed: 1500, 121// slidesToShow: 3, 122// slidesToScroll: 1, 123// autoplay: true, 124// autoplaySpeed: 3000, 125// pauseOnHover:false, 126// responsive: [ 127// { 128// breakpoint: 1024, 129// settings: { 130// slidesToShow:2, 131// slidesToScroll: 1, 132// autoplay: true, 133// autoplaySpeed: 3000, 134// infinite: true, 135// } 136// }, 137// { 138// breakpoint:768, 139// settings: { 140// slidesToShow:2, 141// slidesToScroll: 1, 142// autoplay: true, 143// autoplaySpeed: 3000, 144// } 145// }, 146// { 147// breakpoint: 480, 148// settings: { 149// slidesToShow: 1, 150// autoplay: true, 151// autoplaySpeed: 3000, 152// slidesToScroll: 1, 153// } 154// }, 155// { 156// breakpoint: 300, 157// settings: { 158// slidesToShow: 1, 159// autoplay: true, 160// autoplaySpeed: 3000, 161// slidesToScroll: 1, 162// } 163// } 164// 165// ] 166// }) 167// }) 168//products 169// $(function(){ 170// $('.autoplay1').slick({ 171// infinite: true, 172// speed:2000, 173// slidesToShow: 1, 174// slidesToScroll: 1, 175// autoplay: true, 176// autoplaySpeed:4000, 177// pauseOnHover:false, 178// dots:true, 179// }) 180// }) 181 182//products 183$(function(){ 184 $('.autoplay11').slick({ 185 infinite: true, 186 speed:1600, 187 slidesToShow: 1, 188 slidesToScroll: 1, 189 autoplay: true, 190 autoplaySpeed:2000, 191 pauseOnHover:false, 192 }) 193 }) 194//products 195$(function(){ 196 $('.autoplay4').slick({ 197 infinite: true, 198 speed:2000, 199 slidesToShow: 4, 200 slidesToScroll: 1, 201 autoplay: true, 202 autoplaySpeed: 2000, 203 pauseOnHover:false, 204 dots:true, 205 responsive: [ 206 { 207 breakpoint: 1024, 208 settings: { 209 slidesToShow:3, 210 slidesToScroll: 1, 211 infinite: true, 212 dots:true, 213 } 214 }, 215 { 216 breakpoint:768, 217 settings: { 218 slidesToShow:2, 219 slidesToScroll: 1, 220 dots:true, 221 } 222 }, 223 { 224 breakpoint: 480, 225 settings: { 226 slidesToShow: 1, 227 slidesToScroll: 1, 228 dots:true, 229 } 230 } 231 ] 232 }) 233 }) 234$(function(){ 235 $('.main-more a[href*=#],area[href*=#]').click(function() { 236 if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) { 237 var $target = $(this.hash); 238 $target = $target.length && $target || $('[name=' + this.hash.slice(1) + ']'); 239 if ($target.length) { 240 var targetOffset = $target.offset().top; 241 $('html,body').animate({ 242 scrollTop: targetOffset 243 }, 244 1000); 245 return false; 246 } 247 } 248 }); 249}) 250//placeholder 251// $(function(){ 252// $('[placeholder]').focus(function() { 253// var input = $(this); 254// if (input.val() == input.attr('placeholder')) { 255// input.val(''); 256// input.removeClass('placeholder'); 257// } 258// }) 259// .blur(function() { 260// var input = $(this); 261// if (input.val() == '' || input.val() == input.attr('placeholder')) { 262// input.addClass('placeholder'); 263// input.val(input.attr('placeholder')); 264// } 265// }) 266// .blur(); 267// $('[placeholder]').parents('form').submit(function() { 268// $(this).find('[placeholder]').each(function() { 269// var input = $(this); 270// if (input.val() == input.attr('placeholder')) { 271// input.val(''); 272// } 273// }) 274// });
275// }); 276 277 278
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.