翱翔.Net

释放.Net的力量
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

实现打开页面后弹出FLASH然后自动消失的代码!

Posted on 2004-01-15 11:10  Hover  阅读(3388)  评论(5)    收藏  举报

以下代码在BODY中贴入就可以了!有个问题 就是
<script src="http://images.sohu.com/cs/jsfile/js/sohu_adV1.js"></script>
这句里的sohu_adV1.js里又打开好几个jS文件,如果不联网是看不到效果的!
<CENTER>
<DIV id=fullscreenad style="DISPLAY: none">&nbsp;</DIV></CENTER><!-- end body -->
<center><table border=1 cellpadding=0 cellspacing=0>
 <tr>
  <td>正文内容</td>
 </tr>
</table>
</center>

</center>
<script src="http://images.sohu.com/cs/jsfile/js/sohu_adV1.js"></script>
<script>
/*************************************
Only need to add or Modify this paragraph
@established by dragonjia@sohu-inc.com
@Any Question pls contact: dylanjia@hotmail.com
**************************************/
/*全屏*/
schedule[ad_cnt]=               new SohuAd("FULL",              //ad type
startFullScreen,        // start function
stopFullScreen,         // end function
8000,                   // TimeOut;time for monopolization
100                     // priority ,run order sequence;
);
schedule[ad_cnt].FSStartTime    = new Array("2004/01/15 09:00");
//开始时间
schedule[ad_cnt].FSEndTime              = new Array("2005/01/15 10:00");
//结束时间
schedule[ad_cnt].FSHtmlSrc              = new Array("http://images.sohu.com/cs/button/dongfeng/auto760480.html");
//打开的含有FLASH的页面
schedule[ad_cnt].FSWtAHe = new Array("760:480"");
//FLASH 的宽高
ad_cnt++;
/*飞行流媒体*/
schedule[ad_cnt]=               new SohuAd("LiuMeiTi",          //ad type
startLiuMeiTi,  // start function
stopLiuMeiTi,           // end function
8000,                   // TimeOut;time for monopolization
90                      // priority ,run order sequence;
);

do_schedule();
</script>