1var nav = $('#return'); 2var win = $(window); 3var sc = $(document); 4win.scroll(function() { 5 if (sc.scrollTop() >= 400) { 6 nav.fadeIn(); 7 } else { 8 nav.fadeOut(); 9 } 10}) 11$(function() { 12 $('a[href*=#]:not([href=#])').click(function() { 13 if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) { 14 var target = $(this.hash); 15 target = target.length ? target : $('[name=' + this.hash.slice(1) + ']'); 16 if (target.length) { 17 $('html,body').animate({ 18 scrollTop: target.offset().top 19 }, 1000); 20 return false; 21 } 22 } 23 }); 24}); 25 26//jlt_nav 27var w = $(window).width() 28var h = $(window).height() 29if ($('.finance-container.jlt_top').parents('.finance-header').length > 0) { 30 $('.finance-container.jlt_top').prepend('<a href="http://www.100ec.cn/Index/finance.html"><img src="https://www.100ec.cn/Public/home/images/finance/drb-logo.png?v=1.1" alt="" class="jlt_top_img"></a>') 31} else if ($('.finance-container.jlt_top').parents('.enterprise_header').length > 0) { 32 $('.finance-container.jlt_top').prepend('<a href="http://www.100ec.cn/"><img src="http://www.100ec.cn/Public/home/images/wjs/wjsLOGO.png" alt="" class="jlt_top_img"></a>') 33} else if ($('.dsb-container.jlt_top').parents('.dsb-header').length > 0) { 34 $('.dsb-container.jlt_top').prepend('<a href="http://www.100ec.cn/Index/dsb_product.html" target="_blank"><img src="http://www.100ec.cn/Public/home/images/dsb-logo.png" alt="" class="jlt_top_img"></a>') 35} else if ($('.finance-container.jlt_top').parents('.complaints_header').length > 0) { 36 $('.finance-container.jlt_top').prepend('<a href="http://www.100ec.cn/Index/dszx.html"><img src="http://www.100ec.cn/Public/home/images/wjsLOGO.png?v=1.0" alt="" class="jlt_top_img"></a>') 37} else if ($('.finance-container.jlt_top').parents('.dszx_header').length > 0) { 38 $('.finance-container.jlt_top').prepend('<a><img src="http://www.100ec.cn/zt/upload_data/dszx/images/logo2.png?v=1.0" alt="" class="jlt_top_img"></a>') 39} else if ($('.finance-container.jlt_top').parents('.incubator-header').length > 0) { 40 $('.finance-container.jlt_top').prepend('<a href="http://www.100ec.cn/Index/incubator.html"><img src="http://www.100ec.cn/Public/home/images/incubator/wjsfhq.png?v=1.0" alt="" class="jlt_top_img"></a>') 41} 42 43$(document).ready(function() { 44 45 if (w > 1024) { 46 $('.yhxc').hover(function() { 47 $("#yhzx").css('display', 'block'); 48 }, function() { 49 $("#yhzx").css('display', 'none'); 50 }); 51 $('#yhzx').hover(function() { 52 $("#yhzx").css('display', 'block'); 53 }, function() { 54 $("#yhzx").css('display', 'none'); 55 }); 56 $(".jlt_nav > li").click(function() { 57 var jlx = $(this).index() 58 $(".jlt_nav li").removeClass("current") 59 $(this).addClass("current") 60 if ($(".navbox").eq(jlx).css('display') == 'none') { 61 $(".navbox").slideUp(300) 62 $(".navbox").eq(jlx).fadeIn() 63 } else { 64 $(".navbox").slideUp(300) 65 $(".jlt_nav li").removeClass("current") 66 } 67 }) 68 $(".navbox").mouseleave(function() { 69 $(this).slideUp(300) 70 $(".jlt_nav li").removeClass("current") 71 }) 72 } else { 73 $(".jlt_btn").click(function() { 74 var jz; 75 if ($(".jlt_nav").css("right") == "-102px") { 76 $(".jlt_nav").animate({ "right": 0 }, 300) 77 $(".jlt_nav").show() 78 $(".jlt_btn").addClass("rotat") 79 $(".jlt_btn span").eq(0).addClass("rotat1") 80 $(".jlt_btn span").eq(1).addClass("rotat2") 81 $(".jlt_btn span").eq(2).hide() 82 $('body,html').addClass('sro'); 83 } else { 84 $(".jlt_nav").animate({ "right": -102 }, 300) 85 $(".jlt_nav").slideUp(300) 86 $(".jlt_btn").removeClass("rotat") 87 $(".jlt_btn span").eq(0).removeClass("rotat1") 88 $(".jlt_btn span").eq(1).removeClass("rotat2") 89 $(".jlt_btn span").eq(2).show()
90 $(".navbox").slideUp(300) 91 $('body,html').removeClass('sro'); 92 } 93 }) 94 $(".jlt_nav > li").click(function() { 95 var jlx = $(this).index() 96 if ($(".navbox").eq(jlx).css('display') == 'none') { 97 $(".navbox").slideUp(300) 98 $(".navbox").eq(jlx).fadeIn().height(h).css('overflow-y', 'auto') 99 } else { 100 $(".navbox").slideUp(300).height(auto) 101 } 102 }) 103 } 104});
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.