<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>置顶广告</title> </head> <body> <script> setTimeout("document.all.yaf12000.style.display = 'block'","1000"); setTimeout("document.all.yaf12000.style.display = 'none'","3000"); document.write("<table width=\"960\"> <tr><td>"); document.write("<div id=\"yaf12000\" style=\"display:none;\"> <img src=\"images/welcome.jpg\" alt=\"欢迎光临\" />"); document.write("</div></td></tr></table>"); </script> </body> </html>
Reproduced in: https: //www.cnblogs.com/positive/p/3658154.html