<a onmouseover="displayStatusMsg();return document.returnValue"
          href="javascript:jump2url()"><img
          style="FILTER: revealTrans(duration=2,transition=20)" height=70
          src="index_files/js.htm" width=678 border=0 name=bannerADrotator></a>
          <script language=JavaScript>
          <!-- // BannerAD

          var bannerAD=new Array();
          var bannerADlink=new Array();
          var adNum=0;


          bannerAD[2]="http://www.idyan.com/ads_pic/0801.jpg";
          bannerADlink[2]="http://www.idyan.com/n.php?lid=1";
          bannerAD[0]="http://www.idyan.com/ads_pic/nbh.jpg";
          bannerADlink[0]=".http://www.idyan.com/scenery/scenery.asp?sce_id=856";
          bannerAD[1]="http://www.idyan.com/ads_pic/cicheng.jpg";
          bannerADlink[1]="http://www.idyan.com/scenery/sce_line.asp?sce_line=20";

           


          var preloadedimages=new Array();
          for (i=1;i<bannerAD.length;i++){
          preloadedimages[i]=new Image();
          preloadedimages[i].src=bannerAD[i];
          }

          function setTransition(){
          if (document.all){
          bannerADrotator.filters.revealTrans.Transition=Math.floor(Math.random()*23);
          bannerADrotator.filters.revealTrans.apply();
          }
          }

          function playTransition(){
          if (document.all)
          bannerADrotator.filters.revealTrans.play()
          }

          function nextAd(){
          if(adNum<bannerAD.length-1)adNum++ ;
          else adNum=0;
          setTransition();
          document.images.bannerADrotator.src=bannerAD[adNum];
          playTransition();
          theTimer=setTimeout("nextAd()", 8000);
          }

          function jump2url(){
          jumpUrl=bannerADlink[adNum];
          jumpTarget='_blank';
          if (jumpUrl != ''){
          if (jumpTarget != '')window.open(jumpUrl,jumpTarget);
          else location.href=jumpUrl;
          }
          }
          function displayStatusMsg() {
          status=bannerADlink[adNum];
          document.returnValue = true;
          }

          //-->
          nextAd();
          </script>


          文章來源:http://www.cnblogs.com/wangdetian168/archive/2008/10/10/1308356.html
          posted on 2010-09-30 12:22 sanmao 閱讀(220) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導航:
           

          常用鏈接

          留言簿(5)

          隨筆分類

          隨筆檔案

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 渝中区| 涟源市| 民权县| 论坛| 霍城县| 台南县| 阳新县| 临猗县| 开平市| 安溪县| 达孜县| 卢龙县| 涪陵区| 称多县| 鱼台县| 威宁| 朝阳市| 伊川县| 铜山县| 宜春市| 蕲春县| 桐城市| 政和县| 壶关县| 延庆县| 巴林左旗| 绍兴市| 遵化市| 清涧县| 芦山县| 闸北区| 佛冈县| 乌兰浩特市| 三台县| 闵行区| 隆子县| 视频| 新余市| 淮阳县| 那坡县| 独山县|