Javascript full-screen ad code just written ..
After 4 seconds, the drop-down list will be displayed ..
<SCRIPT type = "text/JavaScript">
VaR intervalid = NULL;
Function slidead (ID, nstaytime, Sstate, nmaxhth, nminhth ){
This. staytime = nstaytime * 3000 || 9000;
This. maxheigth = nmaxhth || 712;
This. minheigth = nminhth | 1;
This. State = Sstate | "down ";
VaR OBJ = Document. getelementbyid (ID );
If (intervalid! = NULL) window. clearinterval (intervalid );
Function openbox (){
VaR H = obj. offsetheight;
OBJ. style. Height = (this. State = "down ")? (H + 3): (H-3) + "PX ";
If (obj. offsetheight> This. maxheigth ){
Window. clearinterval (intervalid );
Intervalid = Window. setinterval (closebox, this. staytime );
}
If (obj. offsetheight <this. minheigth ){
Window. clearinterval (intervalid );
OBJ. style. Display = "NONE ";
}
}
Function closebox (){
Slidead (ID, this. staytime, "up", nmaxhth, nminhth );
}
Intervalid = Window. setinterval (openbox, 10 );
}
</SCRIPT>
</Head>
<Body>
<Div id = "mymovead" style = "height: 12px; width: 960px; margin: 0 auto; overflow: hidden;">
</Div>
<SCRIPT type = "text/JavaScript">
<! --
Function openimg (){
Slidead ('mymovead', 2 );
}
SetTimeout (openimg, 4000)
-->
</SCRIPT>
</Body>