1$(document).ready(function(){ 2// --------------------------------------------------------- 3// Back to Top 4// --------------------------------------------------------- 5 $(window).scroll(function () { 6 if ($(this).scrollTop() > 100) { 7 $('#back-top').fadeIn(); 8 } else { 9 $('#back-top').fadeOut(); 10 } 11 }); 12 $('#back-top a').click(function () { 13 $('body,html').stop(false, false).animate({ 14 scrollTop: 0 15 }, 800); 16 return false; 17 }); 18// --------------------------------------------------------- 19// Menu Android 20// --------------------------------------------------------- 21 if(window.orientation!=undefined){ 22 var regM = /ipod|ipad|iphone/gi, 23 result = navigator.userAgent.match(regM) 24 if(!result) { 25 $('.sf-menu li').each(function(){ 26 if($(">ul", this)[0]){ 27 $(">a", this).toggle( 28 function(){ 29 return false; 30 }, 31 function(){ 32 window.location.href = $(this).attr("href"); 33 } 34 ); 35 } 36 }) 37 } 38 } 39});
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.