<div class="htmlarea"> <textarea id="runcode84887"> <frameset rows="30%,*" name="fr1" frameborder="1" framespacing="1" onload="test()"> <frame src="about:blank" frameborder="1"> <frame frameborder="1" name="srcFra"> </frameset> </textarea> <br><input onclick="runEx('runcode84887')" type="button" value="运行代码"><input onclick="doCopy('runcode84887')" type="button" value="复制代码"> <input onclick="doSave(runcode84887)" type="button" value="保存代码"> <a href="http://www.jb51.net/article/23421.htm" title="查看具体详情" target="_blank">[Ctrl A 全选 注:</a>如需引入外部Js需刷新才能执行</div>]<br><script defer> function test(){ document.frames.srcFra.document.open(); document.frames.srcFra.document.write("<div style='position:absolute;left:10;top:10;cursor:hand' onclick=\"parent.fr1.rows=(parent.fr1.rows=='30%,*')?'0,*':'30%,*'\"><font face=webdings onclick=\"innerText=(innerText=='5')?'6':'5'\">5"); document.frames.srcFra.document.close(); } </script>