56、框架页中不显示滚动条:
| <SCRIPT> |
| self.moveTo(0,0) |
| self.resizeTo(screen.availWidth,screen.availHeight) |
| </SCRIPT> |
57、防止网页被框架
| <SCRIPT LANGUAGE=JAVASCRIPT> |
| if (top.location !== self.location) { |
| top.location=self.location; |
| } |
| </SCRIPT> |
58、永远都会带着框架
| <script language="javascript"> |
| |
| </script> |
59、窗口自动最大化
| <script language="JavaScript"> |
| |
| |
| </script> |
60、打开窗口自动最大化
<OBJECT classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11" onreadystatechange="if (this.readyState==4) this.Click();" VIEWASTEXT><PARAM name="Command" value="Maximize"></OBJECT>
61、爽眼闪屏代码
<script>var color = new Array;color[1] = "black";color[2] = "white";for(x = 0; x <3; x++){document.bgColor = color[x];if(x == 2){x = 0;}}</script>
62、不能被另存为
<noscript><iframe src=*.html></iframe></noscript>
每天持续分享c语言,java,php等编程方面的小知识,欢迎关注趣IT科技!