1// JavaScript Document 2 3// ç¶ç¶²é è¼å ¥å® 4 $(window).load(function(){ 5 6 var $win = $(window), 7 $ad = $('#img_1').css('opacity', 0).show(), // è®å»£ååå¡è®éæä¸é¡¯ç¤ºåºä¾ 8 $ad2 = $('#img_2').css('opacity', 0).show(), // è®å»£ååå¡è®éæä¸é¡¯ç¤ºåºä¾ 9 10 _width = $ad.width(), 11 _height = $ad.height(), 12 _diffY = 250, 13 //_diffX = 12, // è·é¢å·¦å䏿¹éè· 14 //_diffY = document.getElementById("pxy").offsetTop + 60, 15 _moveSpeed = 1; // ç§»åçé度 16 17 // å æ #abgne_float_ad ç§»åå°å®é» 18 $ad.css({ 19 top: _diffY, // å¾ä¸ 20 //left: _diffX, // å¾å·¦ 21 opacity: 1 22 }); 23 24 $ad2.css({ 25 top: _diffY, // å¾ä¸ 26 //left: _diffX, // å¾å·¦ 27 opacity: 1 28 }); 29 30 // 幫網é å ä¸ scroll å resize äºä»¶ 31 $win.bind('scroll resize', function(){ 32 33 var $this = $(this); 34 35 if(navigator.appName == "Microsoft Internet Explorer"){ 36 37 if( document.documentElement.scrollTop < 350){ 38 _diffY = 250 ; 39 40 $ad.css({top: 250,position: 'absolute'}); 41 $ad2.css({top: 250,position: 'absolute'}); 42 43 }else{ 44 _diffY = 5 + document.documentElement.scrollTop; 45 $ad.css({top: 50,position: 'fixed'}); 46 $ad2.css({top: 50,position: 'fixed'}); 47 48 } 49 }else{ 50 if( document.body.scrollTop < 250){ 51 _diffY = 250 - document.documentElement.scrollTop; 52 53 $ad.css({top: 250, position: 'absolute'}); 54 $ad2.css({top: 250, position: 'absolute'}); 55 56 }else{ 57 _diffY = 1; 58 59 $ad.css({top: 50,position: 'fixed'}); 60 $ad2.css({top: 50,position: 'fixed'}); 61 } 62 } 63 64 //document.form1.txt1.value = document.getElementById("pxy").offsetTop; 65 // document.form1.txt1.value = document.body.scrollTop; 66 // æ§å¶ #abgne_float_ad çç§»å 67 68 //$ad.stop().animate({ 69 70 // top: $this.scrollTop() + _diffY, // å¾ä¸ 71 // left: $this.scrollLeft() + _diffX // å¾å·¦ 72 //}, _moveSpeed); 73 74 //$ad2.stop().animate({ 75 76 // top: $this.scrollTop() + _diffY, // å¾ä¸ 77 // left: $this.scrollLeft() + _diffX // å¾å·¦ 78 //}, _moveSpeed); 79 80 81 }).scroll(); // 觸ç¼ä¸æ¬¡ scroll() 82 83 84 85 }); 86
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.