📄 js
字号:
<div style='word-Break:break-all;overflow:auto;width:490;line-height:1.5;border:1 solid orange;padding:5;border-top:0;border-right:0' id=htmdiv4>
<script><br>function window.onload(){<br>web.document.designMode='on';<br>}<br></script><br><iframe id=web></iframe><br><input type=button value='创建描点' onclick="web.document.execCommand('createbookmark',true,'abcdef');alert(web.document.all(0).outerHTML)">
<p align=right style='color:bbbbbb'>
蓝丽程序员论坛收录 http://www.lshdic.com</div><br>
<input type=button value='运行在浏览器查看' style='background-color:eeeeee;border:1 cccccc solid;width:120' onclick="openw(htmdiv4.innerText)"><input type=button value='快速编辑' style='background-color:eeeeee;border:1 cccccc solid;' onclick="try{htmdiv4.contentEditable=true}catch(e){alert('您的浏览器版本过低无法使用该功能')}">
<p><font color=red>- - - - - - - - - - - - - - - -</font><p><font color=gray>我是lshdic的网友,现在被封为版主,有问题我尽量帮助<br><br>没问题别烦我!!</font>
</td></tr><Tr bgcolor=eeeeee><Td align=right colspan=2>
<a href='boos.asp?dex=网页前台脚本编程&areyou=修改&myclass=184&isdex=false&page=1'>修改</a>
<a href='javascript:if(confirm("确实要删除该贴吗?"))location="boos.asp?dex=网页前台脚本编程&areyou=删除&myclass=184&isdex=false&page=1"'>删除</a>
</td></tr>
</script>
<tr><Td bgcolor=#BBE2F5 colspan=2><img src='image/yellowfile.gif' width=13 height=13> 跟贴:第<font color=red><b> 4 </b></font>楼
回复针对<a href='javascript:pos1.filetxt.focus();pos1.filetxt.value="[b]To:第[red]4[/red]楼的[red]JSTART[/red]朋友[/b]\n\n";void(0);'>JSTART</a>,回复引用<a href='javascript:pos1.filetxt.value="[hr][b]以下是引用[red]4[/red]楼[red]JSTART[/red]朋友的论点:[/b]\n\n"+htmdiv5.innerText+"[hr]\n";pos1.filetxt.focus();pos1.filetxt.value=pos1.filetxt.value.replace("蓝丽程序员论坛收录 http://www.lshdic.com","");void(0);'>JSTART</a>
</td></tr><Tr bgcolor=eeeeee>
<Td width=120 align=center valign=top> <br>
<img src='image/user10.gif' height=90 width=90 style='filter:gray'>
<br>作者:<a href='ismy.asp?user=JSTART' target=top title='点击查看JSTART的资料'>JSTART</a><br>经验:197点<br><font color=#6772CD>侠5级:月光剑士</font><br>02-10-26 15:23:21<br>
给作者<a href='duanxiaoxi.asp?emailto=JSTART'>发送短消息</a><br>
</td><td valign=top>
<div style='word-Break:break-all;overflow:auto;width:490;line-height:1.5;border:1 solid orange;padding:5;border-top:0;border-right:0' id=htmdiv5>
谢谢浪迹风云:<br><br>那如果我么转到“描点”那而怎么转呢?<br><br>比如我有一个LISETBOX里面存放了几个“书签的名字”<br><br>当我双击LISTBOX里的“书签的名字”时候就可以转到“描点”所再的位置<br><br>web.document.designMode='on'<br>打开设计模式是什么意思啊?<br>,请问能帮我这个问题么?<br>
<p align=right style='color:bbbbbb'>
蓝丽程序员论坛收录 http://www.lshdic.com</div><br>
<input type=button value='运行在浏览器查看' style='background-color:eeeeee;border:1 cccccc solid;width:120' onclick="openw(htmdiv5.innerText)"><input type=button value='快速编辑' style='background-color:eeeeee;border:1 cccccc solid;' onclick="try{htmdiv5.contentEditable=true}catch(e){alert('您的浏览器版本过低无法使用该功能')}">
<p><font color=red>- - - - - - - - - - - - - - - -</font><p><font color=gray>2008北京奥运会指定程序员</font>
</td></tr><Tr bgcolor=eeeeee><Td align=right colspan=2>
<a href='boos.asp?dex=网页前台脚本编程&areyou=修改&myclass=185&isdex=false&page=1'>修改</a>
<a href='javascript:if(confirm("确实要删除该贴吗?"))location="boos.asp?dex=网页前台脚本编程&areyou=删除&myclass=185&isdex=false&page=1"'>删除</a>
</td></tr>
</script>
<tr><Td bgcolor=#BBE2F5 colspan=2><img src='image/yellowfile.gif' width=13 height=13> 跟贴:第<font color=red><b> 5 </b></font>楼
回复针对<a href='javascript:pos1.filetxt.focus();pos1.filetxt.value="[b]To:第[red]5[/red]楼的[red]JSTART[/red]朋友[/b]\n\n";void(0);'>JSTART</a>,回复引用<a href='javascript:pos1.filetxt.value="[hr][b]以下是引用[red]5[/red]楼[red]JSTART[/red]朋友的论点:[/b]\n\n"+htmdiv6.innerText+"[hr]\n";pos1.filetxt.focus();pos1.filetxt.value=pos1.filetxt.value.replace("蓝丽程序员论坛收录 http://www.lshdic.com","");void(0);'>JSTART</a>
</td></tr><Tr bgcolor=eeeeee>
<Td width=120 align=center valign=top> <br>
<img src='image/user10.gif' height=90 width=90 style='filter:gray'>
<br>作者:<a href='ismy.asp?user=JSTART' target=top title='点击查看JSTART的资料'>JSTART</a><br>经验:197点<br><font color=#6772CD>侠5级:月光剑士</font><br>02-10-26 15:38:05<br>
给作者<a href='duanxiaoxi.asp?emailto=JSTART'>发送短消息</a><br>
</td><td valign=top>
<div style='word-Break:break-all;overflow:auto;width:490;line-height:1.5;border:1 solid orange;padding:5;border-top:0;border-right:0' id=htmdiv6>
还有个问题啊,liastbox里怎么检测全部页面的描点,并把描点的名字放到listbox里面啊。
<p align=right style='color:bbbbbb'>
蓝丽程序员论坛收录 http://www.lshdic.com</div><br>
<input type=button value='运行在浏览器查看' style='background-color:eeeeee;border:1 cccccc solid;width:120' onclick="openw(htmdiv6.innerText)"><input type=button value='快速编辑' style='background-color:eeeeee;border:1 cccccc solid;' onclick="try{htmdiv6.contentEditable=true}catch(e){alert('您的浏览器版本过低无法使用该功能')}">
<p><font color=red>- - - - - - - - - - - - - - - -</font><p><font color=gray>2008北京奥运会指定程序员</font>
</td></tr><Tr bgcolor=eeeeee><Td align=right colspan=2>
<a href='boos.asp?dex=网页前台脚本编程&areyou=修改&myclass=186&isdex=false&page=1'>修改</a>
<a href='javascript:if(confirm("确实要删除该贴吗?"))location="boos.asp?dex=网页前台脚本编程&areyou=删除&myclass=186&isdex=false&page=1"'>删除</a>
</td></tr>
</script>
<tr><Td bgcolor=#BBE2F5 colspan=2><img src='image/yellowfile.gif' width=13 height=13> 跟贴:第<font color=red><b> 6 </b></font>楼
回复针对<a href='javascript:pos1.filetxt.focus();pos1.filetxt.value="[b]To:第[red]6[/red]楼的[red]JSTART[/red]朋友[/b]\n\n";void(0);'>JSTART</a>,回复引用<a href='javascript:pos1.filetxt.value="[hr][b]以下是引用[red]6[/red]楼[red]JSTART[/red]朋友的论点:[/b]\n\n"+htmdiv7.innerText+"[hr]\n";pos1.filetxt.focus();pos1.filetxt.value=pos1.filetxt.value.replace("蓝丽程序员论坛收录 http://www.lshdic.com","");void(0);'>JSTART</a>
</td></tr><Tr bgcolor=eeeeee>
<Td width=120 align=center valign=top> <br>
<img src='image/user10.gif' height=90 width=90 style='filter:gray'>
<br>作者:<a href='ismy.asp?user=JSTART' target=top title='点击查看JSTART的资料'>JSTART</a><br>经验:197点<br><font color=#6772CD>侠5级:月光剑士</font><br>02-10-28 10:12:51<br>
给作者<a href='duanxiaoxi.asp?emailto=JSTART'>发送短消息</a><br>
</td><td valign=top>
<div style='word-Break:break-all;overflow:auto;width:490;line-height:1.5;border:1 solid orange;padding:5;border-top:0;border-right:0' id=htmdiv7>
<input type=button value=m1 onclick=demo.document.body.scrollTop=0><br><iframe src="about:<div style=height:1000></div>" id=demo></iframe>
<p align=right style='color:bbbbbb'>
蓝丽程序员论坛收录 http://www.lshdic.com</div><br>
<input type=button value='运行在浏览器查看' style='background-color:eeeeee;border:1 cccccc solid;width:120' onclick="openw(htmdiv7.innerText)"><input type=button value='快速编辑' style='background-color:eeeeee;border:1 cccccc solid;' onclick="try{htmdiv7.contentEditable=true}catch(e){alert('您的浏览器版本过低无法使用该功能')}">
<p><font color=red>- - - - - - - - - - - - - - - -</font><p><font color=gray>2008北京奥运会指定程序员</font>
</td></tr><Tr bgcolor=eeeeee><Td align=right colspan=2>
<a href='boos.asp?dex=网页前台脚本编程&areyou=修改&myclass=209&isdex=false&page=1'>修改</a>
<a href='javascript:if(confirm("确实要删除该贴吗?"))location="boos.asp?dex=网页前台脚本编程&areyou=删除&myclass=209&isdex=false&page=1"'>删除</a>
</td></tr>
<Tr><Td bgcolor=dddddd colspan=2 align=right><!--分页区-->
首页 上页 <A href='files.asp?dex=网页前台脚本编程&page=2&myclass=163'>下页</a> <A href='files.asp?dex=网页前台脚本编程&page=2&myclass=163'>尾页</a> [1] <a href='files.asp?dex=网页前台脚本编程&page=2&myclass=163'>[2]</a>
</td></tr>
<Tr>
<td bgcolor=6F81BC colspan=2><font color=eeeeee>lshdic,是否为此贴评论两句?</font></td></tr><Tr bgcolor=#BBE2F5>
<td>内容区发言特技:LDML<p>Url网址自动解析允许<br>Mail超连接自动解析<br>LDML特技代码允许<p>声明:请不要发表邪教以及影响社会,青少年健康的言论及网址<p></td>
<td align=right><form method=post action='callnewfile.asp' name=pos1>
<textarea style='width:100%;height:150;background-color:eeeeee' name=filetxt></textarea><br>
LDML效果: <select onchange='pos1.filetxt.focus();if(this.selectedIndex!=0)document.selection.createRange().text="["+this.options[this.selectedIndex].style.backgroundColor+"]"+document.selection.createRange().text+"[/"+this.options[this.selectedIndex].style.backgroundColor+"]";this.selectedIndex=0' style='background-color:eeeeee'><option>文字颜色
<option style='background-color:red'>
<option style='background-color:yellow'>
<option style='background-color:blue'>
<option style='background-color:purple'>
<option style='background-color:orange'>
<option style='background-color:white'>
<option style='background-color:black'>
<option style='background-color:lime'>
<option style='background-color:gray'>
<option style='background-color:silver'>
<option style='background-color:navy'>
<option style='background-color:menu'>
<option style='background-color:maroon'>
<option style='background-color:window'>
</select><select onchange='pos1.filetxt.focus();if(this.selectedIndex!=0)document.selection.createRange().text="[bgcolor="+this.options[this.selectedIndex].style.backgroundColor+"]"+document.selection.createRange().text+"[/bgcolor]";this.selectedIndex=0' style='background-color:eeeeee'><option>文字背景
<option style='background-color:red'>
<option style='background-color:yellow'>
<option style='background-color:blue'>
<option style='background-color:purple'>
<option style='background-color:orange'>
<option style='background-color:white'>
<option style='background-color:black'>
<option style='background-color:lime'>
<option style='background-color:gray'>
<option style='background-color:silver'>
<option style='background-color:navy'>
<option style='background-color:menu'>
<option style='background-color:maroon'>
<option style='background-color:window'>
</select><select onchange='pos1.filetxt.focus();if(this.selectedIndex!=0)document.selection.createRange().text="["+this.options[this.selectedIndex].value+"]"+document.selection.createRange().text+"[/"+this.options[this.selectedIndex].value+"]";this.selectedIndex=0' style='background-color:eeeeee'><option>文字样式
<option value=b>粗体字
<option value=i>斜体字
<option value=u>下划线
<option value=s>删除线
<option value=sup>文字靠上
<option value=sub>文字靠下
<option value=big>文字偏大
<option value=small>文字偏小
<option value=h1>一号大字
<option value=h2>二号大字
<option value=h3>三号中字
<option value=h4>四号中字
<option value=h5>五号小字
<option value=h6>六号小字
<option value=center>文字居中
<option value=marquee>文字滚动
</select><select onchange='pos1.filetxt.focus();if(this.selectedIndex==1){document.selection.createRange().text="[hr]"}else if(this.selectedIndex==2){popimg=prompt("请输入要插入的图片地址(网址URL),如www.lshdic.com/1.gif\n注意:URL不可包含http://","");if(popimg!=null&&popimg.toLowerCase().indexOf("http://")==-1&&popimg.length>10&&popimg.indexOf(".")!=-1)document.selection.createRange().text="httpgif://"+popimg;else alert("以取消插入图片,原因可能您点击了取消或您的URL中包含 http:// 这个禁止字符\n\n或您的图像网址不完整.")}else if(this.selectedIndex==3){document.selection.createRange().text=".]"}this.selectedIndex=0' style='background-color:eeeeee'><option>插入物件
<option>水平线
<option>插入图片
<option>插入]符号
</select><input type=submit name='startfile' value='提交文章' style='background-color:dddddd;border-width:1' onclick="gook();if(canok==0)return false">
<input type=hidden value='网页前台脚本编程' name='nextdex'> <!--记录是何栏目-->
<input type=hidden value='163' name='nextclass'> <!--记录是何编号-->
</td></tr></table>
<Script language=vbs>
canok=0
sub gook
if len(pos1.filetxt.value)>100000 then msgbox "文章内容太大,字符以超过100000字的限制,请减少字符数量",16,"出错":pos1.filetxt.focus():pos1.filetxt.select():exit sub
if trim(pos1.filetxt.value)="" then msgbox "文章回复内容均必须填写",16,"出错":pos1.filetxt.focus():exit sub
canok=1
end sub
</script>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -