1// JavaScript Document 2$( document ).ready(function() { 3 4 var pageNo = $('#pageNo').text(); 5 $('#globalNav>div').eq(pageNo).addClass('navCurrent'); 6 $('#globalNav>div').hover(function(){ 7 $(this).children('ul').stop(true,true).slideToggle(500); 8 }); 9 10 11 $('#nanomarkBtn').hover( 12 function(){ $(this).children('#nanomarkBtnItem').stop().animate({height:150});} 13 ,function(){ $(this).children('#nanomarkBtnItem').stop().animate({height:0});} 14 ); 15 16 17 var currentOpen = -1; 18 $('#nav4mobile #mobileNav>li>a.noLink').click(function() { 19 //夿·æå°çæ¯å·²éåçå? 20 //alert($(this).parent().index()); 21 $('#nav4mobile #mobileNav ul').slideUp(500); 22 if($(this).parent().index() != currentOpen){ 23 //$('#nav ul').slideUp(500); 24 $(this).next().stop(true,true).slideDown(500); 25 currentOpen = $(this).parent().index(); 26 }else{ 27 //$('#nav ul').slideUp(500); 28 currentOpen = -1; 29 } 30 return false; //解決é»é¸ç¬¬ä¸å±¤liæéæé£çµè³å ¶ä»é é¢ 31 }); 32 33 34 $('.iframe').colorbox({ 35 iframe: true 36 ,width: "80%" 37 ,height: "80%" 38 }); 39 40 //backTop å尿䏿¹ ============================= 41 $('#backTop').backTop({ 42 position: 400 // the scroll position in px from the top 43 ,speed: 500 // scroll animation speed 44 ,color: 'black' // red, white, black or green 45 }); 46 47 $('#Tab').tab(); 48 49 $('#epaperTab').tab(); 50 51}); 52 53//masonry ç叿µ ============================= 54window.onload = function(e) { 55 $('.masonryItem').masonry({ 56 itemSelector:'.item' 57 ,isAnimated: true 58 ,percentPosition: true 59 }); 60}; 61 62/*$(function(){ 63 var $container = $('.masonryItem'); 64 $container.imagesLoaded(function(){ //åçè®å宿æå·è¡æåº 65 $container.masonry({ 66 itemSelector : '.item', 67 columnWidth : 240 68 }); 69 }); 70});*/
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.