以下是引用阳光白雪在2007-3-30 15:28:26的发言:汗,翻到了13页才找到,
http://bbs.bc-cn.net/viewthread.php?tid=123404[CODE]<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>[/CODE]
请问能不能在popmsg("")中增加一个链接打开一个指定的网页内容呢?src="popsms.asp" 这样是无效的啊!请指正!