Advertising | page
This window code, the effect is very good, but a bit complicated! Please look carefully!
There are three pages involved:
Window page: 1.htm to place the Bullet Window code page
Middle page: 2.htm Intermediate over page
Pop-up page: 3.htm pop-up page
In the 1.htm put the code as follows: mainly through the dialog box forced pop-up 2.htm, size for 0,0
CODE:
<script language= "JavaScript" >
Focusid=settimeout ("focus (); Window.showmodelessdialog" (' 2.htm ', ', ', ' scroll:1;status:1;help:1;toolbar=1;resizable : 1;dialogwidth:0px;dialogheight:0px ') ", 3000)
</script>
Place the code in the 2.htm as follows: Automatically closes the dialog page 2.htm, while the window is 3.htm
CODE:
<script language= "JavaScript" >
<!--
function OpenWindow2 (url,name,features) {//v2.0
window.open (url,name,features);}
OpenWindow2 (' 3.htm ', ' Pop ', ' resizable,height=600,width=1024,toolbar,menubar,scrollbars,location,left=0,top=0 ');
-->
SetTimeout (' Window.close (); ', 0);
</script>
Place code in 3.htm: Automatically minimize after eject
CODE:
Add in the body tag: <body >
The following code joins the <body></body> area
<object id= "min" type= "Application/x-oleobject" classid= "Clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11" >
<param name= "Command" value= "Minimize" >
</object> <object id= "Max" type= "Application/x-oleobject" classid= "CLSID: Adb880a6-d8ff-11cf-9377-00aa003b7a11 ">
<param name= "Command" value= "Maximize" >
</object>