进入页面后,会在网站头部出现一幅图片广告,30秒钟后自动消失,这个效果怎样实现的

来源:百度知道 编辑:UC知道 时间:2024/05/17 06:45:32
进入页面后,会在网站头部出现一幅图片广告,30秒钟后自动消失,这个效果怎样实现的
如sina
谢谢!!

<!-- SUDS_CODE_END -->
<center>
<!--XAD_STARTX-->
<table width=760 border=0 cellspacing=0 cellpadding=0><tr><td align=center><!--全屏开始-->
<!--interstitial begin-->
<script language="JavaScript">
<!--
//时间计算
SYfullscreen=false;
today=new Date();
function testdate()
{
if(today.getMonth()=='7') //是否为8月
{
if(today.getDate()=='17') //是否为17日

{
<!--2B18F27ADCE7-->//全屏开始
if(today.getHours()>='14' && today.getHours()<'15')
{
adInterPath='http://ad4.sina.com.cn/sina/ae/ad_src/fullscreen/fullscreenv2.html?http://sina.allyes.com/main/adfclick?db=sina&bid=52381,80359,80430&cid=0,0,0&sid=75581&advid=2818