专题文章
时长:00:00更新时间:2024-12-01 12:02:33
举个例子,假设有page.html页面,想要在名为newwindow的新窗体中打开它,且设置宽为100像素,高为400像素,无工具条和菜单条,无滚动条,不可调整大小,无地址栏和状态栏。那么代码可以这样写:window.open(';page.html';,';newwindow';,';width=100,height=400,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no';)。
查看详情