1$(document).ready(function ($) { 2 // browser window scroll (in pixels) after which the "back to top" link is shown 3 var offset = 300, 4 5 6 //duration of the top scrolling animation (in ms) 7 scroll_top_duration = 700, 8 //grab the "back to top" link 9 $back_to_top = $('.cd-top'); 10 11 //hide or show the "back to top" link 12 $(window).scroll(function () { 13 ($(this).scrollTop() > offset) ? $back_to_top.addClass('cd-is-visible') : $back_to_top.removeClass('cd-is-visible cd-fade-out'); 14 if ($(this).scrollTop() > offset.opacity) { 15 $back_to_top.addClass('cd-fade-out'); 16 } 17 }); 18 //smooth scroll to top 19 $back_to_top.on('click', function (event) { 20 event.preventDefault(); 21 $('body,html').animate({ 22 scrollTop: 0, 23 }, scroll_top_duration 24 ); 25 }); 26 27 28 $("#dui_ping").click(function () { 29 30 $(this).css("color", "#00bbd2"); 31 32 $(this).css("border-color", "#00bbd2"); 33 34 $("#dui_wu").css("color", "#999999"); 35 36 $("#dui_wu").css("border-color", "#EFEFEF"); 37 38 $(".xianb").css("display", "block"); 39 40 $(".xiana").css("display", "none"); 41 42 }) 43 44 $("#dui_wu").click(function () { 45 46 $(this).css("color", "#00bbd2"); 47 48 $(this).css("border-color", "#00bbd2"); 49 50 $("#dui_ping").css("color", "#999999"); 51 52 $("#dui_ping").css("border-color", "#EFEFEF"); 53 54 $(".xiana").css("display", "block"); 55 56 $(".xianb").css("display", "none"); 57 58 }) 59}); 60 61$(window).scroll(function () { 62 var scrollTop = document.documentElement.scrollTop || document.body.scrollTop; 63 if (scrollTop >= 800) { 64 $(".ts-animate_key").eq(0).animate({ 65 opacity: 1 66 }, 400, function () { 67 $(".ts-animate_key").eq(1).animate({ 68 opacity: 1 69 }, 200, function () { 70 $(".ts-animate_key").eq(2).animate({ 71 opacity: 1 72 }, 400); 73 }); 74 }); 75 } 76})
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.