纸箱厂废气处理装置:window.open 为什么有些弹的出窗口,有的弹不出来呢.

来源:百度文库 编辑:高考问答 时间:2024/05/06 01:26:31
<A onclick="window.open('ivia.htm','Listen','scrollbars=no,resizable=no,width=354,height=445')"href="#2">
在网页中写这段代码的时候没有任何反映.
<A onclick="window.open('http://www.hao123.com,'Listen','scrollbars=no,resizable=no,width=354,height=445')"href="#2">
但是这段代码就能弹出hao123.com的网页出来。

注意''号和相对路径、绝对路径的问题,第二行是绝对路径,不过你给的是相对路径。