心跳的回忆

标题: 弹出窗口 [打印本页]

作者: 渣王    时间: 2003-3-8 16:24
标题: 弹出窗口
var newwin = null //-------------------------------------------------弹出窗口(地址,宽,高) function newwindow(to,w,h) { if (!newwin || newwin.closed) { newwin=window.open(to,"indexww","width="+w+",height="+h+",scrollbars") } else { newwin.close() newwin=window.open(to,"indexww","width="+w+",height="+h+",scrollbars") } newwin.focus() }




欢迎光临 心跳的回忆 (http://www.hsrbbs.com/) Powered by Discuz! X3.1