Popup Window Popup effect
<html >
< Head >
<title>Popup</title >
<Meta http-equiv="content-type" content ="Text/html;charset=utf-8" />
<SCRIPT language=JavaScript1.2 >
var opopup = window. createpopup ();
var poptop=m ;
function popmsg(msgstr ){
var winstr="<table style=\" border:1 solid #101112 \ width=\ "355\" height=\ "180\" Border=\ "0\" cellpadding=\ "5\" cellspacing=\ "0\" bgcolor=\ "#F8F8F8 \" > ";
winstr+ ="<tr><td height=\" 167\ "> </td><td Align=\ "Center\" ><table width=\ "100%\" height=\ "153\" border=\ "0\" "cellpadding=\" 0\ "cellspacing=\" 0\ ">" ;
winstr+ ="<tr><td valign=\" top\ "style=\" font-size:12px; color: #F81919; Face: Tahoma;\ ">"+msgstr+"</td></tr></table></td ></tr></table> " ;
opopup. Document . Body . InnerHTML = winstr ;
popshow ();
}
function popshow (){
window. Status = poptop ;
if (poptop>1720 ){
cleartimeout(mytime );
opopup. Hide ();
Return
}else if (poptop>1520&&poptop< 1720 ){
opopup. Show (screen. width - the , Screen . Height , 355 , 1720 - poptop );
}else if (poptop>1500&&poptop< 1520 ){
opopup. Show (screen. width - the , Screen . Height + (poptop-1720), 355 , 160 );
}else if (poptop<180 ){
opopup. Show (screen. width - the , Screen . Height , 355 , poptop );
}else if (poptop< ){
opopup. Show (screen. width - the , Screen . Height - Poptop , 355 , 180 );
}
poptop=ten ;
var mytime=settimeout("popshow ();" , - m );
}
popmsg("Text ..." ));
</SCRIPT>
<body>
</body>