[求助]右下角的弹出窗口问题??
这个弹出窗口程序是在右下角弹出窗口的类似QQ的新闻提示
我现在想给弹出来的窗口加上关闭按钮
谁能帮帮我啊????先谢谢了!!!!
<!--#include file="inc/conntoolw.asp"-->
<SCRIPT Language=Javascript>
<!--
var oPopup = window.createPopup();
var popTop=50;
function popmsg(msgstr){
var winstr="<table width=\"300\" height=\"180\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
winstr+="<tr><td align=\"center\"><table width=\"90%\" height=\"180\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
winstr+="<tr><td align=\"center\"><table width=\"90%\" height=\"180\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
winstr+="<tr><td valign=\"top\" style=\"font-size:12px;\">"+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-250,screen.height,300,1720-popTop);
}else if(popTop>1500&&popTop<1520){
oPopup.show(screen.width-250,screen.height+(popTop-1720),300,172);
}else if(popTop<180){
oPopup.show(screen.width-250,screen.height,300,popTop);
}else if(popTop<220){
oPopup.show(screen.width-250,screen.height-popTop,300,180);
}
popTop+=10;
var mytime=setTimeout("popshow();",60);
}
popmsg("<table width=299 height=180 border=0 cellpadding=0 cellspacing=0 bgcolor=#679CE4><tr><td height=21 align=right><>关闭</td></tr><tr><td height=123 bgcolor=#F7F7F7> </td></tr></table>");
-->
</SCRIPT>