如何使用javascript window.open方法隐藏/消失地址栏?

时间:2012-12-05 07:10:28

标签: javascript

我有一个页面,其中包含一个链接,我想在一个新窗口中打开它并且它工作得很好,唯一的是地址栏仍然出现,而我在下面设置值'location = no'是我工作的代码......

function openWindow() {

    window.open('somepage.html',abc,'scrollbars=yes,width=600px,height=450px,location=no');

}

0 个答案:

没有答案
相关问题