function popmsg(msgstr)
{
var winstr=" <table style=\"border:1 solid #FFA6CA \" width=\"241\" height=\"172\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"back.jpg\">";
winstr+=" <tr> <td height=\"30\"> </td> </tr> <tr> <td align=\"center\"> <table width=\"90%\" height=\"110\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
winstr+=" <tr> <td valign=\"top\" style=\"font-size:12px; color: blue; face: Tahoma\">"+msgstr+" </td> </tr> <tr> <td>";
winstr+=" <a href='#' onclick=\"top.location.href='http://www.sina.com.cn'\">查看 </a> </td> </tr> </table> </td> </tr> </table>";
oPopup.document.body.innerHTML = winstr;
popshow();
}
{
var winstr=" <table style=\"border:1 solid #FFA6CA \" width=\"241\" height=\"172\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"back.jpg\">";
winstr+=" <tr> <td height=\"30\"> </td> </tr> <tr> <td align=\"center\"> <table width=\"90%\" height=\"110\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
winstr+=" <tr> <td valign=\"top\" style=\"font-size:12px; color: blue; face: Tahoma\">"+msgstr+" </td> </tr> <tr> <td>";
winstr+=" <a href='#' onclick=\"top.location.href='http://www.sina.com.cn'\">查看 </a> </td> </tr> </table> </td> </tr> </table>";
oPopup.document.body.innerHTML = winstr;
popshow();
}
还有你这个在FF下没效果的
参考一下
想要在FF下做的话,
试一下用window.open吧。
不过感觉用flash作的效果会比较好。