请问怎样在点击“超链接”之后,打开的窗口没有菜单、没有状态栏、没有常用工具、没有地址栏?
请问怎样在点击“超链接”之后,打开的窗口没有菜单、没有状态栏、没有常用工具、没有地址栏? 问题点数:0、回复次数:3Top
1 楼fengyun2003()回复于 2003-02-02 11:26:30 得分 0
window.open( [sURL] [, sName] [, sFeatures])
//其中sURL为要打开的连接,sName为名称,sFeatures为属性信息
例:
var strFeat
strFeat="height=200,top=50,left=50,width=200"
strFeat=strFeat+"menubar=no"//无菜单
strFeat=strFeat+"status=no"//无状态栏
strFeat=strFeat+"toolbar=no"//无工具栏
strFeat=strFeat+"titlebar=no"//无标题栏
strFeat=strFeat+"resizable=no"//不可改大小
window.open("URL","OPEN",strFeat)
Top
2 楼wlm_lm(网络服务器)回复于 2003-02-02 11:29:13 得分 0
在你的超链接中跟一些参数就可以了,menubarno toolbar=no statbat=no 等,有些单词写得不对,不要见怪哟Top
3 楼wangxj0600(闭门思过中)回复于 2003-02-02 14:04:34 得分 0
<a href=\# onclick="window.open(url,name,fea);return false">Top




