在网页中弹出一个小的警告小窗口 dn001 2009-06-21 08:54:55 <!-- bbs http://www.knowsky.com/bbs--> <!-- 把下列代码加到<head>区域内 --> <SCRIPT> //more javascript from http://www.knowsky.com var val=1 ; function wait() { if(val==1) { //8000是停留的时间 setTimeout("wait()",8000) ; val-- ; } else { image.style.display='none' ; } } </SCRIPT> <table width="760" height="219" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" id=image> <tr> <td width="760" height="219"><a href="#" target="_blank"><img src="/img/200406301.jpg" width="760" height="420" border="0"></a></td> </tr> </table> <!-- 修改<body>内容 --> <body onLoad="wait();">