编辑您的代码:
查看结果:
<html> <head> <script type="text/javascript"> function linkTo(y) { var x=window.open("../example/hdom/anchors.htm","","scrollbars=yes,width=250,height=200") x.location.hash=y } </script> </head> <body> <h3>Links and Anchors</h3> <p>点击一个按钮,来显示第二个窗口中的锚。</p> <input type="button" value="0" onclick="linkTo(0)"> <input type="button" value="1" onclick="linkTo(1)"> <input type="button" value="2" onclick="linkTo(2)"> <input type="button" value="3" onclick="linkTo(3)"> </body> </html>
查看结果:
系统帮助
|
给我留言
|
收藏本站
Copyright © 2005-2008
www.cnn84.com
All Rights Reserved Ver:2.0
桂公网安备45122402000102号
CNN84网是公益性便民网站,是为了给大家的日常生活查询及提供最快捷的出行指南
太晚了,CNN84提醒您:该休息了!