编辑您的代码:
查看结果:
<html> <head> <script type="text/javascript"> function changeSource() { document.getElementById("frame1").src="../example/hdom/frame_c.html" document.getElementById("frame2").src="../example/hdom/frame_d.html" } </script> </head> <body> <iframe src="../example/hdom/frame_a.html" id="frame1"></iframe> <iframe src="../example/hdom/frame_b.html" id="frame2"></iframe> <br /><br /> <input type="button" onclick="changeSource()" value="改变两个框架的 source"> </body> </html>
查看结果:
系统帮助
|
给我留言
|
收藏本站
Copyright © 2005-2008
www.cnn84.com
All Rights Reserved Ver:2.0
桂公网安备45122402000102号
CNN84网是公益性便民网站,是为了给大家的日常生活查询及提供最快捷的出行指南
夜深了!要注意身体呀! CNN84希望所有朋友都能做个好梦!