⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ¦js

📁 极品网络编程技术教程(极品网络编程技术教程.zip)
💻
📖 第 1 页 / 共 2 页
字号:
<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>
谢谢高手回复!<br>对了我还要补充问一下,刚才忘了。<br>就是所谓的“yyyy”,四个y必须在网页页面上做的地址栏或者另一个文本框中输入的,问题可能比刚才要复杂一点。请指教!!!!!
<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>爱好网络</font>
</td></tr><Tr bgcolor=eeeeee><Td align=right colspan=2>
<a href='boos.asp?dex=网页前台脚本编程&areyou=修改&myclass=901&isdex=false&page=1'>修改</a> 
<a href='javascript:if(confirm("确实要删除该贴吗?"))location="boos.asp?dex=网页前台脚本编程&areyou=删除&myclass=901&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]风云舞[/red]朋友[/b]\n\n";void(0);'>风云舞</a>,回复引用<a href='javascript:pos1.filetxt.value="[hr][b]以下是引用[red]4[/red]楼[red]风云舞[/red]朋友的论点:[/b]\n\n"+htmdiv5.innerText+"[hr]\n";pos1.filetxt.focus();pos1.filetxt.value=pos1.filetxt.value.replace("蓝丽程序员论坛收录 http://www.lshdic.com","");void(0);'>风云舞</a>

</td></tr><Tr bgcolor=eeeeee>
<Td width=120 align=center valign=top>&nbsp;<br>


<img src='image/user18.gif' height=90 width=90 style='filter:gray'>


<br>作者:<a href='ismy.asp?user=风云舞' target=top title='点击查看风云舞的资料'>风云舞</a><br>经验:327点<br><font color=#6772CD>豪8级:剑无悔</font><br>2002-12-13 16:28:28<br>
给作者<a href='duanxiaoxi.asp?emailto=风云舞'>发送短消息</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>
&lt;iframe id=web&gt;&lt;/iframe&gt;&lt;input type=button value='替换' onclick=&quot;replace1()&quot;&gt;&lt;input id=b value=c&gt;<br>&lt;script&gt;<br>web.document.designMode='on';&nbsp;//页面打开使IFRAME可编辑<br>web.document.open();<br>web.document.clear();<br>web.document.write(&quot;abcdefgccccccccccccccc&quot;)<br>function replace1(){<br>str1=web.document.all(0).outerText<br>for(i=0;i&lt;10;i++){&nbsp;&nbsp; //替换10次<br>str1=str1.replace(b.value,'*')<br>}<br>web.document.open()<br>web.document.clear()<br>web.document.write(str1)<br>}<br>&lt;/script&gt; 
<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>我也来玩玩+_+</font>
</td></tr><Tr bgcolor=eeeeee><Td align=right colspan=2>
<a href='boos.asp?dex=网页前台脚本编程&areyou=修改&myclass=902&isdex=false&page=1'>修改</a> 
<a href='javascript:if(confirm("确实要删除该贴吗?"))location="boos.asp?dex=网页前台脚本编程&areyou=删除&myclass=902&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]token007[/red]朋友[/b]\n\n";void(0);'>token007</a>,回复引用<a href='javascript:pos1.filetxt.value="[hr][b]以下是引用[red]5[/red]楼[red]token007[/red]朋友的论点:[/b]\n\n"+htmdiv6.innerText+"[hr]\n";pos1.filetxt.focus();pos1.filetxt.value=pos1.filetxt.value.replace("蓝丽程序员论坛收录 http://www.lshdic.com","");void(0);'>token007</a>

</td></tr><Tr bgcolor=eeeeee>
<Td width=120 align=center valign=top>&nbsp;<br>


<img src='image/user1.gif' height=90 width=90 style='filter:gray'>


<br>作者:<a href='ismy.asp?user=token007' target=top title='点击查看token007的资料'>token007</a><br>经验:12点<br><font color=#6772CD>人0级:江湖浪人</font><br>2002-12-13 16:34:35<br>
给作者<a href='duanxiaoxi.asp?emailto=token007'>发送短消息</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>
谢谢那么快回复。<br>&nbsp; 我的意思是地址栏或另一个文本框内的内容yyyy是访问者自己可以输入的。也可以是bbbb、kkkkk等。<br>&nbsp; 指教!
<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>爱好网络</font>
</td></tr><Tr bgcolor=eeeeee><Td align=right colspan=2>
<a href='boos.asp?dex=网页前台脚本编程&areyou=修改&myclass=904&isdex=false&page=1'>修改</a> 
<a href='javascript:if(confirm("确实要删除该贴吗?"))location="boos.asp?dex=网页前台脚本编程&areyou=删除&myclass=904&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]风云舞[/red]朋友[/b]\n\n";void(0);'>风云舞</a>,回复引用<a href='javascript:pos1.filetxt.value="[hr][b]以下是引用[red]6[/red]楼[red]风云舞[/red]朋友的论点:[/b]\n\n"+htmdiv7.innerText+"[hr]\n";pos1.filetxt.focus();pos1.filetxt.value=pos1.filetxt.value.replace("蓝丽程序员论坛收录 http://www.lshdic.com","");void(0);'>风云舞</a>

</td></tr><Tr bgcolor=eeeeee>
<Td width=120 align=center valign=top>&nbsp;<br>


<img src='image/user18.gif' height=90 width=90 style='filter:gray'>


<br>作者:<a href='ismy.asp?user=风云舞' target=top title='点击查看风云舞的资料'>风云舞</a><br>经验:327点<br><font color=#6772CD>豪8级:剑无悔</font><br>2002-12-13 16:38:17<br>
给作者<a href='duanxiaoxi.asp?emailto=风云舞'>发送短消息</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>
&lt;iframe id=web&gt;&lt;/iframe&gt;&lt;input type=button value='输入' onclick=&quot;replace1()&quot;&gt;&lt;input id=b value=c&gt;<br>&lt;script&gt;<br>web.document.designMode='on'; //页面打开使IFRAME可编辑<br>web.document.open();<br>web.document.clear();<br>web.document.write(&quot;abcdefgccccccccccccccc&quot;)<br>function replace1(){<br>web.document.open()<br>web.document.clear()<br>web.document.write(b.value)<br>}<br>&lt;/script&gt; 
<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>我也来玩玩+_+</font>
</td></tr><Tr bgcolor=eeeeee><Td align=right colspan=2>
<a href='boos.asp?dex=网页前台脚本编程&areyou=修改&myclass=905&isdex=false&page=1'>修改</a> 
<a href='javascript:if(confirm("确实要删除该贴吗?"))location="boos.asp?dex=网页前台脚本编程&areyou=删除&myclass=905&isdex=false&page=1"'>删除</a>
</td></tr>


<Tr><Td bgcolor=dddddd colspan=2 align=right><!--分页区-->
首页 上页 <A href='files.asp?dex=网页前台脚本编程&page=2&myclass=891'>下页</a> <A href='files.asp?dex=网页前台脚本编程&page=2&myclass=891'>尾页</a>  [1] <a href='files.asp?dex=网页前台脚本编程&page=2&myclass=891'>[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='891' 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 + -