请教 open打开子窗口,该方法 dependent 属性的使用. var win=nullfunction test(){if(win&&win.open&&!win.closed)win.focus()elsewin=window.open()} 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 例子:.<script>var win=nullfunction test(){if(win&&win.open&&!win.closed)win.focus()elsewin=window.open("edit3.htm")}</script><input onclick="test()" value=open type=button> <script>var win=nullfunction test(){if(win&&win.open&&!win.closed)alert("子窗口没有关闭")}win=window.open("")</script><body onfocus="test()">test 孟斑竹,你很厉害也很热心哦,谢谢谢谢!那个dependent没有作用的吗? ie中不支持这个属性。试试ns好了。 看看这个:http://colorweb.go.163.com/js/mengxhwindow.htm web开发,如何改变弹出框上的消息啊 如何改变当前窗口 resizable属性 如何使iframe刷新时不影响父页? 在页面内,如何显示层在页面正中,并屏蔽层后的操作。 谁有正文抽取的代码? 请高手进来帮我解决下这个问题,感激之极 jquery 动态获取html标签id方法? 如何先history.go(-2) 然后刷新该窗口呢? ----挑战性问题 *^_^* 图片渐隐变换问题! 正则表达式符号概括(请大家更正) 急:站内搜索的相对路径或绝对路径的问题 请问CheckBox 有disable 或 enable 属性吗?怎样使其失效?
var win=null
function test()
{
if(win&&win.open&&!win.closed)
win.focus()
else
win=window.open("edit3.htm")
}
</script><input onclick="test()" value=open type=button>
var win=null
function test()
{
if(win&&win.open&&!win.closed)
alert("子窗口没有关闭")
}
win=window.open("")
</script>
<body onfocus="test()">
test
那个dependent没有作用的吗?
http://colorweb.go.163.com/js/mengxhwindow.htm