落伍者站长论坛's Archiver

shriro 发表于 2008-4-15 16:08

求一网页退弹代码

谁 有退弹代码发个给我用用.小弟在止先谢谢了

jingangel 发表于 2008-4-15 16:15

window.close()

plus 发表于 2008-4-20 19:14

[quote]原帖由 [i]jingangel[/i] 于 2008-4-15 16:15 发表 [url=http://www.im286.com/redirect.php?goto=findpost&pid=25366195&ptid=2518384][img]http://www.im286.com/images/common/back.gif[/img][/url]
window.close() [/quote]


这个超强!!!!直接close

tengelee 发表于 2008-4-21 21:03

同意楼上的

Fevo 发表于 2008-4-22 09:18

可以用onUnload属性,比如:

<SCRIPT LANGUAGE="JavaScript">
<!--
function showMsg()
{
        alert('这是关闭之前的弹出信息');
        window.open('test.htm');
}
//-->
</SCRIPT>
</HEAD>
<BODY onUnload="return showMsg();">
</BODY>

wangreit 发表于 2008-4-22 16:56

顶了

锁耐 发表于 2008-4-29 15:15

看看

250896911 发表于 2008-4-29 19:37

说说`

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.