网页制作有用的代码

2020-04-17 08:24:38易采站长站整理

<form name=form1>
<input type=button value="新窗口1[只显示地址栏]" onclick=window.open(”,’new1′,’location=1′)>
<input type=button value="新窗口2[只显示状态栏]" onclick=window.open(”,”,’status=1′)>
<input type=button value="新窗口3[只显示工具栏]" onclick=window.open(”,’new2′,’toolbar=1,height=200,width=450′)>
<input type=button value="新窗口4[只显示菜单栏]" onclick=openWin()>
<input type=button value="新窗口5[一个不少]" onclick=window.open(”,’new5′)>
<input type=button value="新窗口6[光棍但可调大小]" onclick=window.open(‘https://www.jb51.net/forumdisplay.php?forumid=32#thread’,’new6′,’resizable=1′)>
</form>
</div>
</body>
</html>

上一页12 3 下一页 阅读全文