※ 顫動的網頁 ※
|
<SCRIPT LANGUAGE="JavaScript1.2"> <!-- Begin netscape = (navigator.appName == "Netscape"); n4 = netscape && (parseInt(navigator.appVersion) >= 4); explorer = (navigator.appName == "Microsoft Internet Explorer"); ie4 = explorer && (parseInt(navigator.appVersion) >= 4); function shake(n) { if (n4 || ie4) { for (i = 10; i > 0; i--) { for (j = n; j > 0; j--) { self.moveBy(0,i); self.moveBy(i,0); self.moveBy(0,-i); self.moveBy(-i,0); } } } } // End --> </script> </head> <body bgcolor="#FFFFFF" topmargin="3" leftmargin="0" background="jpg/01_bkg1.jpg"> <div align="center"><center> <table border="0"> <tr> <td align="center"><!--webbot bot="HTMLMarkup" startspan --><FORM> <input type=button onClick="shake(2)" value="展示結果"> </FORM><!--webbot bot="HTMLMarkup" endspan --></td> </tr> </table> </center></div> |