<p><a href="file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\d:\web" target="_blank">我的电脑</a></p> <p><a href="file:///::{450D8FBA-AD25-11D0-98A8-0800361B1103}" target="_blank">我的文档</a></p> <p><a href="file:///::{645FF040-5081-101B-9F08-00AA002F954E}" target="_blank">回收站</a></p> <p><a href="file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}"
target="_blank">控制面板</a></p> <p><a href="file:///::{7007ACC7-3202-11D1-AAD2-00805FC1270E}">拨号网络</a>(windows 2000)</p>
88.IE菜单 <button onclick="min.Click()"><font face="webdings">0</font></button>//改变按钮上的图片 <input type=button onclick="document.execCommand('CreateLink','true','true')"> //创建新连接 <input type=button onclick="document.execCommand('print','true','true')"> //打印 <input type=button onclick="document.execCommand('saveas','true','网站制作.htm')">//另存为htm <input type=button onclick="document.execCommand('saveas','true','网站制作.txt')">//另存为txt document.execCommand("SaveAs")//保存为 document.execCommand('undo')//撤销上一次操作
89.web对话框 <SCRIPT> var contents='<style>body,td{font:menu}img{cursor:hand}</style>'; contents+='<title>你要关闭我吗</title>'; contents+='<body bgcolor=menu>'; contents+='<table width=100% height=100% border=0>'; contents+='<tr><td align=center>'; contents+='你要关闭我吗?<br>'; contents+='<img src=http://www.knowsky.com/dark.gifonclick=self.close() alt="...关闭">'; contents+='<img src=http://www.knowsky.com/jet.gifonclick=self.close() alt="全是关闭">'; contents+='</td></tr></table>'; showModalDialog("about:"+contents+"","","dialogHeight:50px;dialogWidth:250px;help:no;status:no") document.write(contents); </SCRIPT>//
90.取第x,y的值 <button onclick="t1.rows[x].cells[y].innerText='guoguo'"></button>//
91.向新打开的网页上写内容 newwin=window.open('about:blank','','top=10'); newwin.document.write('');//
93.返回 javascript:history.go(-2);//
94.将页面上选中的内容复制到剪贴板 abcdefg <input type='button'
onclick="window.clipboardData.setData('text',document.selection.createRange().text);" value='复制页面选中
的字符'>// 95.将页面上选中的内容复制到剪贴板 <INPUT TYPE="text" NAME="">kjhkjhkhkj<INPUT TYPE="button" onclick="document.execCommand('Copy', 'false',
null);">////
96.鼠标移到下拉框时自动全部打开
上一篇:数据库的分页问题
下一篇:更多好资源获取 新版迅雷搜索全面上线
|