Pop-up windows | timing
Parameter explanation:
Set time: Then.settime (then.gettime () + 1*60*60*1000)
Mylove/ttan.htm (Transition page)
http://pop-up page in ttan.htm/is the page to be ejected
Scroll:1 (scroll bar)
Status:1 (status bar)
Help:1 (Help button)
Toolbar=1 (tool bar)
Resizable:1 (Whether you can drag to resize with the mouse)
dialogwidth:800px (width)
dialogheight:600px (height)
3000 (Delay popup time, in milliseconds.) 1 seconds =1000 milliseconds)
<!--pop-up ads-->
<script language= "JavaScript" >
function Get () {
var Then = new Date ()
Then.settime (Then.gettime () + 1*60*60*1000)
var cookiestring = new String (document.cookie)
var cookieheader = "cookie1="
var beginposition = Cookiestring.indexof (Cookieheader)
if (beginposition!=-1) {
} else
{document.cookie = "cookie1=popwin;expires=" + then.togmtstring ()
Focusid=settimeout ("focus (); Window.showmodelessdialog" (' ttan.htm ', ', ', ' scroll:0;status:0;help:0;resizable:0;d
ialogwidth:0px;dialogheight:0px ') ", 3000)
Window.focus ();
}
}get ();
</script>
<!--pop-up end-->
Content of ttan.htm:
<script language= "JavaScript" >
<!--
window.open ("http://pop-up page/");
-->
</script>
<script language= "JavaScript" >
<!--
SetTimeout (' Window.close (); ', 0)
-->
</script>
can achieve the same IP within a certain period of time only pop-up, you can implement a delay pop-up, you can implement forced eject!!