wfcvn 发表于 2007-4-27 12:00:53

***综合类***打开页面时自动出现好几条显影的信息,然后才导入页面

把下列代码加到网页的<body></body>标签之间 从google下载我的照片管理软件
脚本说明:
把如下代码加入<head>区域中
<script language = "javascript">

   function makearray() {
   this.length = makearray.arguments.length;
             for (var i = 0; i < this.length; i++)
             this = makearray.arguments;
   }

   function makeslideshow (obj, wait, pre, url) {
   this.curtext = '';
   this.posit = 1;   
   this.word = obj;
   this.length = obj.length;
   this.pre = pre;
   this.wait = wait;
   this.url = url;
   this.display = displayslideshow;
   }

   function displayslideshow() {
             if (this.posit <= this.length) {
             this.curtext = this.word

             outstringword = blankframetop + this.pre + this.curtext + blankframebottom;
             parent.draw.location = 'javascript:parent.outstringword';
             this.posit++;
             }
             else {
             doneloop = true;
             top.location = this.url;
             }
   }

   function displayloop() {
   if (!doneloop) redraw = settimeout('displayloop()', wordintro.wait);
   wordintro.display();
   }

   var words = new makearray ('欢迎光临 ', '本站主要向您介绍javascript ', '水平有限,敬请指教! ', 'email: jojoo@jojoo.net ', '好啦,出发吧! ');
   var wordintro = new makeslideshow (words, 2500, '<center><br><br><br><br><br><br><br><br><font size = 7>', 'jiaoben.htm');
   var blankframetop = '<html><body bgcolor = "#000000" text = "#ffffff">';
   var blankframebottom = '</body></html>';
   var blankframe = blankframetop + blankframebottom;
   var doneloop = false;
   

</script>
         <frameset onload = "displayloop()" rows = "100%, *" frameborder = no border = 0>

         <frame
          scrolling=auto
          src = "javascript:parent.blankframe"
          name = "draw"
          marginwidth = 2
          marginheight = 2>
         </frameset>

      











----- ------- --- --------------- --------

http://www.h uoyue.com.cn活跃网,活跃人群的论坛,访问活跃网 ,将给您带来意想 不到的收获,还可 以免费为您开论坛,让您免费拥有与朋友、网友交 流的论坛。你 是年轻人吗?你活跃你就上!
页: [1]
查看完整版本: ***综合类***打开页面时自动出现好几条显影的信息,然后才导入页面