菜单切换
FACESOHO知行者
心灵
记录
远方
赞赏工具
源代码:
点击运行
保存
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>小鸟启蒙(facesoho.com)</title> <script> function removeBorder(){ document.getElementById("myframe").frameBorder="0"; } </script> </head> <body> <iframe id="myframe" src="http://www.facesoho.com"> <p>你的浏览器不支持iframes。</p> </iframe> <br><br> <input type="button" onclick="removeBorder()" value="移除边界"> <p><b>注意:</b> 该实例不能工作在IE浏览器。</p> </body> </html>
运行结果