<meta http-equiv="X-UA-Compatible" content="IE=8"/>
<input id="Text1" autocomplete="off" type="text"/>
<title>网站名称 - 所在网页</title>
<title>网站名称|功能名称|功能名称的各种写法</title>
<title>博客园 - 程序员的网上家园</title>
<meta name="keywords" content="博客园,开发者,程序员,软件开发,编程,代码,极客,Developer,Programmer,Coder,Code,Coding,Greek,IT学习"/>
<meta name="description" content="博客园是面向程序员的高品质IT技术学习社区,是程序员学习成长的地方。博客园致力于为程序员打造一个优秀的互联网平台
,帮助程序员学好IT技术,更好地用技术改变世界。"/>
oncontextmenu="window.event.returnValue=false"
<table border oncontextmenu=return(false)><td>no</table>
<body>
onpaste="return false"
oncopy="return false;"
<link rel="Shortcut Icon" href="favicon.ico">
<link rel="Bookmark" href="favicon.ico">
<input style="ime-mode:disabled">
<script language="JavaScript"><!--if (window == top)top.location.href ="frames.htm"; //frames.htm为框架网页 // --></script>
<SCRIPT LANGUAGE=JAVASCRIPT><!--if (top.location != self.location)top.location=self.location; // --></SCRIPT>
<noscript><iframe src="/blog/*.html>";</iframe></noscript>
<input type=button value=查看网页源代码view-source:"+ "http://www.baidu.com/"">
<a href="javascript:if(confirm("确实要删除吗?"))location="boos.asp?&areyou=删除&page=1"">删除</a>
<a href="a.aspx?act=del&id=1">删除</a>
//Javascript <script language="Javascript">function getIE(e){ var t=e.offsetTop; var l=e.offsetLeft;
while(e=e.offsetParent) alert("top="+t+"/nleft="+l); } </script>
//VBScript <script language="VBScript"><!--function getIE() dim t,l,a,b set a=document.all.img1
t=document.all.img1.offsetTop l=document.all.img1.offsetLeft
while a.tagName<>"BODY"set a = a.offsetParent t=t+a.offsetTop l=l+a.offsetLeft wendmsgbox
"top="&t&chr(13)&"left="&l,64,"得到控件的位置"end function--></script>
<script language="javascript">function cc() { var e = event.srcElement; var r =e.createTextRange();
r.moveStart("character",e.value.length);
r.collapse(true); r.select(); } </script> <input type=text name=text1 value="123">
javascript: document.referrer 16. 最小化、最大化、关闭窗口
<object id=hh1 classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">
<param name="Command" value="Minimize"></object> <object id=hh2 classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">
<param name="Command" value="Maximize"></object> <OBJECT id=hh3 classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<ARAM NAME="Command" VALUE="Close"></OBJECT> <input type=button value=最小化 onclick=hh1.Click()> <input type=button value=最大化 onclick=hh2.Click()>
<input type=button value=关闭 onclick=hh3.Click()> 本例适用于IE
<script>function look(){ if(event.shiftKey) alert("禁止按Shift键!"); //可以换成ALT CTRL } document.onkeydown=look; </script>
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT"> 或者<META HTTP-EQUIV="expires" CONTENT="0">
<input type=text style="border:1 solid #000000"> 或
<input type=text style="border-left:none; border-right:none; border-top:none; border-bottom:1 solid #000000"></textarea>
<body>
<body style="overflow:scroll;overflow-y:hidden"> </body>
<body style="overflow:scroll;overflow-x:hidden"> </body>
<body scroll="no"> </body>
<a href="#"><img src="/blog/logo.jpg" border=0></a>
<form name="form1" method="post" action="mailto:****@***.com" enctype="text/plain"> <input type=submit> </form>
window.opener.location.reload()
<body>
<body>
<STYLE> body {background-image:url(/blog/logo.gif); background-repeat:no-repeat;
background-position:center;background-attachment: fixed}</STYLE>
<script language="Javascript"><!--function checkNum(str){return str.match(//D/)==null}
alert(checkNum("1232142141")) alert(checkNum("123214214a1")) // --></script>
document.body.clientWidth; document.body.clientHeight
if (/[^/x00-/xff]/g.test(s)) alert("含有汉字"); else alert("全是字符");
<textarea rows=1 name=s1 cols=27> </textarea>
<script language=Javascript>function cc(dd,dadd)
{ //可以加上错误处理 var a = new Date(dd) a = a.valueOf() a =
a - dadd *24*60*60*1000 a =new Date(a) alert(a.getFullYear() +"年"+ (a.getMonth() +1) +"月"+ a.getDate() +"日")
} cc("12/23/2002",2) </script>
<HTML><script language="vbscript">function checkme() foreach ob in radio1 if ob.checked then window.alert ob.value nextend function</script>
<BODY>
<INPUT name="radio1" type="radio" value="style" checked>Style
<INPUT name="radio1" type="radio" value="barcode">Barcode <INPUT type="button" value="check">
</BODY>
</HTML>
<SCRIPT LANGUAGE="JavaScript"><!-- Hide function killErrors() { returntrue; } window.onerror = killErrors; // --> </SCRIPT>
<input>
<body>区域中: <script language=Javascript>
tim=1 setInterval("tim++",100) b=1var autourl=new Array() autourl[1]="http://www.njcatv.net/"
autourl[2]="javacool.3322.net" autourl[3]="http://www.sina.com.cn/" autourl[4]="http://www.nuaa.edu.cn/" autourl[5]="http://www.cctv.com/"function butt(){ document.write("<form name=autof>")
for(var i=1;i<autourl.length;i++) document.write("<input type=text name=txt"+i+" size=10 value="/blog/测试中......>" =》
<input type=text name=url"+i+" size=40> =》<input type=button value=GO
onclick=window.open(this.form.url"+i+".value)><br/>") document.write("<input type=submit value=刷新></form>") } butt() function auto(url) else
b++ } function run(){for(var i=1;i<autourl.length;i++)document.write("<img src=http://"+autourl+"/"+Math.random()+" width=1 height=1
onerror=auto("http://%22+autourl/+"")>")} run()</script>
<meta http-equiv="age-Enter" content="revealTrans(duration=x, transition=y)"> 推出页面<meta http-equiv="age-Exit" content="revealTrans(duration=x, transition=y)">
<META http-equiv=V="REFRESH" content="5;URL=http://www.williamlong.info">
<script language="JavaScript"> <!-- self.moveTo(0,0) self.resizeTo(screen.availWidth,screen.availHeight) //--> </script>
<div id="menu" style="position:absolute; visibility:hidden; top:20px; left:20px; width:100px; height:200px; background-color:#6699cc;"> <table> <tr><td>item 1</td></tr> <tr><td>item 2</td></tr> <tr><td>item 3</td></tr> <tr><td>item 4</td></tr> <tr><td>item 5</td></tr> </table> <iframe src="/blog/javascript:false" style="position:absolute; visibility:inherit; top:0px; left:0px; width:100px; height:200px; z-index:-1; filter='progidXImageTransform.Microsoft.Alpha(style=0,opacity=0)';"></iframe> </div>
<a href="#">menu</a>
<form> <select><option>A form selection list</option></select> </form>
<div align="center"><input type="hidden" name="hao" value="yes">
外向数:<input name=answer style="color: rgb(255,0,0); border-left: medium none; border-right: medium none; border-top: medium none; border-bottom: 1px solid rgb(192,192,192)">
没回答的题数:<input name=unanswer id="unanswer" style="color: rgb(255,0,0); border-left: medium none; border-right: medium none; border-top: medium none; border-bottom: 1px solid rgb(192,192,192)">
<br/>
总得分:
<input name=score id="score" style="color: rgb(255,0,0); border-left: medium none; border-right: medium none; border-top: medium none; border-bottom: 1px solid rgb(192,192,192)">
结 论:
<input name=xgjg id="xgjg" style="color: rgb(255,0,0); border-left: medium none; border-right: medium none; border-top: medium none; border-bottom: 1px solid rgb(192,192,192)">
<br/> <br/>
<input onClick=processForm(this.form) style="FONT-FAMILY: 宋体; FONT-SIZE: 9pt" type=button value=查看结果 name="button">
<input type="reset" name="Submit" value="重做">
</div> 注意:修改<body>为<body>即为打开最大
化窗口,而如果改为<body>就变为窗口一打开就最小化
<object id="min" type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<param name="Command" value="Minimize">
</object> <object id="max" type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<param name="Command" value="Maximize">
</object>
</body>
<meta http-equiv="refresh" content="20">,
<meta http-equiv="refresh" content="20;url=http://www..sufeinet.com">,
<body>
<script language="JavaScript">
<!--
var gt = unescape('%3e');
var popup =null;
var over ="Launch Pop-up Navigator";
popup = window.open('', 'popupnav', 'width=225,height=235,resizable=1,scrollbars=auto');
if (popup !=null) {
if (popup.opener ==null) {
popup.opener = self;
}
popup.location.href ='tan.htm';
}
// -->
</script> <body>注意:这段代码是在新建文件中的 <script language="JavaScript">
function closeit()
</script>
<object type="text/x-scriptlet" width="800" height="1000" data="../index.htm"> </object>
欢迎光临 苏飞论坛 (http://www.sufeinet.com/) | Powered by Discuz! X3.4 |