?? 0031.htm
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- saved from url=(0032)http://www.ie-zone.com/index.php --><HTML><!-- #BeginTemplate "/Templates/Js.dwt" --> <HEAD><!-- #BeginEditable "doctitle" --> <TITLE>震動的窗口</TITLE><!-- #EndEditable --> <META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK href="../../fav.ico" rel="shortcut icon"><STYLE type=text/css>BODY { MARGIN: 25px 25px 25px}#all TD { FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋體", "宋體"}INPUT { FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋體", "宋體"}SELECT { FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋體", "宋體"}P { FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋體", "宋體"}TEXTAREA { FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋體", "宋體"}#all A:active { COLOR: #7d070c}#all A:visited { COLOR: #7d070c}#all A:hover { COLOR: #336699}#all A:link { COLOR: #7d070c}</STYLE><SCRIPT language=JavaScript><!--function MM_goToURL() { //v3.0 var i, args=MM_goToURL.arguments; document.MM_returnValue = false; for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");}function JM_cc(ob){var obj=MM_findObj(ob); if (obj) { obj.select();js=obj.createTextRange();js.execCommand("Copy");}}function MM_findObj(n, d) { //v4.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && document.getElementById) x=document.getElementById(n); return x;}//--></SCRIPT><META content="MSHTML 5.50.4134.600" name=GENERATOR></HEAD><BODY id=all text=#000000 bgColor=#336699><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TR bgColor=#ffffff> <TD><IMG src="../images/sq_1.gif" width=11 height="14"></TD> <TD width="100%"></TD> <TD><IMG src="../images/sq_2.gif" width=11 height="14"></TD> </TR></TABLE><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TR bgColor=#ffffff> <TD><IMG src="../../images/space.gif" width=11 height="1"></TD> <TD width="100%"> <table width="100%" border="0" cellpadding="8"> <tr> <td align="center"> <script language="JavaScript">document.write("<font color=#7d070c style=\"font-size: 14px\">"+document.title+"</font>");</script> </td> </tr> <tr> <td bgcolor="#f7f7f7"><!-- #BeginEditable "example" --> <style>#quakenotice_ie{font:normal 14px Arial;position:absolute;width:300px;height:55px;border:2px solid black;background-color:lightyellow;visibility:hidden;}</style> <layer id="quakenotice_ns" width=300 height=55 bgcolor=lightyellow visibility=hide></layer> <script>/*EarthQuake script- ?Dynamic Drive (www.dynamicdrive.com)For full source code, installation instructions, 100's more DHTML scripts, and Terms Of Use, Visit http://dynamicdrive.com*///configure the likelihood that an earthquake will occur (100% means always)var chance_of_occurence="50%"/////do NOT edit below this line///////////////variable used to store the equivalency of the 10 rector scales (in the form of 1, 3, 6...etc)var rectorscale=new Array(1,3,6,9,12,15,18,21,24,27)chance_of_occurence=parseInt(chance_of_occurence)function earthquake(){//randomly assign a number from 1 to 10 to variable rectorindexrectorindex=Math.floor(Math.random()*10)//randomly assign one of element rectorscale into variable rectorrector=rectorscale[rectorindex]if ((document.all||document.layers)&&Math.floor(Math.random()*100)<=chance_of_occurence) {//shake the browser's screen according to the random rector scale!for (i=0;i,i<20;i++){window.moveBy(0,rector)window.moveBy(rector,0)window.moveBy(0,-rector)window.moveBy(-rector,0)}// show quake messagequakealert()}}if (document.all)document.write('<div id="quakenotice_ie"></div>')function quakealert(){var quakemessage='你知道嗎?剛剛這里發生了 <b>'+eval(rectorindex+1)+'</b> 級地震! 站穩了嗎?現在沒問題啦:)'if (document.all){quakemsg_ie=document.all.quakenotice_iequakemsg_ie.innerHTML=quakemessage//position quake message in center of screenquakemsg_ie.style.left=document.body.scrollLeft+document.body.clientWidth/2-quakemsg_ie.offsetWidth/2quakemsg_ie.style.top=document.body.scrollTop+document.body.clientHeight/2-quakemsg_ie.offsetHeight/2quakemsg_ie.style.visibility="visible"setTimeout("quakemsg_ie.style.visibility='hidden'",5000)}else if (document.layers){quakemsg_ns=document.quakenotice_nsquakemsg_ns.document.write(quakemessage)quakemsg_ns.document.close()quakemsg_ns.left=pageXOffset+window.innerWidth/2-quakemsg_ns.document.width/2quakemsg_ns.top=pageYOffset+window.innerHeight/2-quakemsg_ns.document.height/2quakemsg_ns.visibility="show"setTimeout("quakemsg_ns.visibility='hide'",5000)}}</script> <script language="JavaScript">window.onload=earthquake</script> <!-- #EndEditable --></td> </tr> <tr> <td><!-- #BeginEditable "code" -->1.將下面的代碼復制到<head> 內 <input type="button" name="Button" value="復制到我的剪貼板" onClick=JM_cc('js_1')> <br> <form name="form1" method="post" action=""> <textarea name="js_1" wrap="VIRTUAL" cols="80" rows="10"><style>#quakenotice_ie{font:normal 14px Arial;position:absolute;width:300px;height:55px;border:2px solid black;background-color:lightyellow;visibility:hidden;}</style></textarea> </form> <br> 2.將下面的代碼復制到 <body> 內 <input type="button" name="Button2" value="復制到我的剪貼板" onClick=JM_cc('js_2')> <br> <form name="form1" method="post" action=""> <textarea name="js_2" wrap="VIRTUAL" cols="80" rows="10"><layer id="quakenotice_ns" width=300 height=55 bgColor=lightyellow visibility=hide></layer><script>/*EarthQuake script-
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -