点击前的文字
点击改变文字
下面框中为脚本显示区
请点击改变文字!"
脚本说明: 把如下代码加入<body>区域中: <SCRIPT LANGUAGE="JAVASCRIPT"> n = (document.layers) ? 1:0 ie = (document.all) ? 1:0 function change_content(divname, newtext) { if (n) { document.layers[divname].document.write(newtext) document.layers[divname].document.close() } if (ie) document.all[divname].innerHTML = newtext } </SCRIPT> <A HREF="javascript:if(confirm('http://www.kkqk.com/Extend/Javascript/default.htm \n\n文件并未依 Teleport Pro 取回,因为 服务器报告未找到此文件。 \n\n你要从服务器上打开它吗?'))window.location='http://www.kkqk.com/Extend/Javascript/default.htm'" tppabs="http://www.kkqk.com/Extend/Javascript/default.htm" onClick="change_content('layer1', 'This is the new text!')">Change the current text to "This is the new text!"</A><BR> <DIV ID="layer1" STYLE="position:absolute; top:100; left:200; visibility:visible"> This is a layer called "layer1"<BR> </DIV>