1// JavaScript Document 2 3/* -------------------------------------------------------------------------------------- 4 ãã¹ã¯ãã¼ã« 5--------------------------------------------------------------------------------------- */ 6 7$(function (){ 8 9 10 11 12 //ãªã³ã¯å ç¢ºèª 13 //if(!document.referrer.match("test.f-webdesign.biz")) $.cookie("status", null); 14 15 //TOPã®ãã§ã¼ã 16 if ($.cookie("status") !== "visited") { 17 var fadebox = $("#fadebox").get(), 18 logo = $(fadebox).find("p"), 19 txt = $(fadebox).find("dt"), 20 dd = $(fadebox).find("dd"), 21 speed = 500; 22 23 $(fadebox).css("display","block"); 24 25 $(logo).delay(500).fadeIn(speed,function(){ 26 $("#index #mainbox").css("display","block"); 27 $(txt).fadeIn(speed,function(){ 28 29 //$("html,body").animate({"scrollTop" : $("body").height()},{"duration" : 1000}); 30 31 $(dd).fadeIn(speed,function(){ 32 $(fadebox).delay(500).fadeOut(100,function(){ 33 //$("html,body").animate({"scrollTop" : 0},{"duration" : 100}); 34 $.cookie("status","visited"); 35 }); 36 }); 37 }) 38 }); 39 } else { 40 $("#index #fadebox").css("display","none"); 41 $("#index #mainbox").css("display","block"); 42 }; 43 44 if(!$.support.noCloneChecked){ 45 var img = $("img").get(); 46 47 for(var i=0; i<img.length; i++) { 48 var src = img[i].src; 49 if (src.substr(src.length-4) === ".png") { 50 img[i].style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled='true',sizingMethod='crop',src='" + src + "')"; 51 img[i].src = "shared/img/shared/opacity.png"; 52 }; 53 }; 54 }; 55}); 56 57 58// $(function (){ 59 // $("body,html").pagescroll({ 60 // downspeed : 0, //ä¸çªâã¾ã§ããã¹ãã¼ã 61 // upspeed : 1000, //ä¸çªâã¾ã§æ»ã£ã¦ããã¹ãã¼ã 62 // delay : 1000 //ä¸çªâã¾ã§è¡ã£ãå¾ã®å¾ æ©æé 63 // }); 64// }); 65 66 67 68 // ãã¼ã¸ã®èªã¿è¾¼ã¿ãå®äºãã¦ããå®è¡ 69 $(function() { 70 // ã¹ã¯ãã¼ã«éä¸ãã表示ãããã¡ãã¥ã¼ãã¼ãæå® 71 var navBox = $("#nav"); 72 73 // ã¡ãã¥ã¼ãã¼ã¯åæç¶æ ã§ã¯æ¶ãã¦ãã 74 navBox.hide(); 75 76 // 表示ãéå§ããã¹ã¯ãã¼ã«éãè¨å®(px) 77 var TargetPos = 500; 78 79 // ã¹ã¯ãã¼ã«ãããéã«å®è¡ 80 $(window).scroll( function() { 81 // ç¾å¨ã®ã¹ã¯ãã¼ã«ä½ç½®ãåå¾ 82 var ScrollPos = $(window).scrollTop(); 83 // ç¾å¨ã®ã¹ã¯ãã¼ã«ä½ç½®ã¨ãç®çã®ã¹ã¯ãã¼ã«ä½ç½®ãæ¯è¼ 84 if( ScrollPos > TargetPos ) { 85 // 表示(ãã§ã¤ãã¤ã³) 86 navBox.fadeIn(); 87 } 88 else { 89 // é表示(ãã§ã¤ãã¢ã¦ã) 90 navBox.fadeOut(); 91 } 92 }); 93 }); 94 95
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.