找回密码
 注册
【阿里云】2核2G云新老同享 99元/年,续费同价华为云精选云产品特惠做网站就用糖果主机Jtti,新加坡服务器,美国服务器,香港服务器
查看: 616|回复: 6

(搞顶拉)很PP的跳转页代码。我怎么就改不顶呢?大家帮看看。

[复制链接]
发表于 2005 年 10 月 14 日 20:48:27 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
昨天看见的,这是远代码。完全OK。但是我自己改几个图片的地址。把他的图片删掉些,问题就出现了。网页错误,提示我说那个load的wide没有定义。
我改了定义也不成功。请大家赐教!

搞顶拉。看看我的演示。
演示:http://poti.pp.ru
-------------
<html>
<head>
<title>∮夏日工作室∮XiaRi StuDiO</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script language="JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
   document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
<script language="JavaScript1.2">
<!-- begin hiding

startingColor = new Array() // <-- Do not modify!
endingColor = new Array() // <-- Do not modify!

// YOU MAY MODIFY THE FOLLOWING:
var yourImages = new Array(
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"http://souhu.uni.cc/skin/korean_skin_right/images/rss2.png",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"http://souhu.uni.cc/skin/korean_skin_right/images/cc.png",
"http://souhu.uni.cc/skin/korean_skin_right/images/w3c-xhtml.png",
"http://souhu.uni.cc/skin/korean_skin_right/images/w3c-css.png",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",  
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
") // Fill this array with the images you wish to preload
var locationAfterPreload = "http://souhu.uni.cc/index.php" // The script will redirect here when the preloading finishes *successfully*
var preloadbarWidth = 260 // The length of the preload bar. Should be greater than total amount of images you want to preload!
var preloadbarHeight = 7 // The height of the gradient/preload bar
var backgroundOfGradient = "#000000" // Default color while the preload bar is "filling up"

// Color the preloadbar is starting with - enter 1st, 3rd and 5th numbers/letters of color code
startingColor[0] = "f"
startingColor[1] = "f"
startingColor[2] = "f"

// Color the preloadbar is going to end up with - enter the 1st, 3rd and 5th numbers/letters of color code
endingColor[0] = "f"
endingColor[1] = "f"
endingColor[2] = "f"

// FOR TROUBLESHOOTING:
var gap = 5 // PLAY AROUND WITH THIS SETTING IF YOU GET A JAVASCRIPT ERROR!!! 2 is the minumum value!!!


// DO NOT MODIFY ANYTHING BEYOND THIS POINT!!!

if (!document.all) location.replace(locationAfterPreload)
var a = 10, b = 11, c = 12, d = 13, e = 14, f=15, i, j, ones = new Array(), sixteens = new Array(), diff = new Array();
var convert = new Array("0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"), imgLen = yourImages.length;
var loaded = new Array(), preImages = new Array(), currCount = 0, pending = 0, h = 0, hilite = new Array(), cover = new Array();
var num = Math.floor(preloadbarWidth/gap);
for (i = 0; i < 3; i++) {
      startingColor = startingColor.toLowerCase();
      endingColor = endingColor.toLowerCase();
      startingColor = eval(startingColor);
      endingColor = eval(endingColor);
      diff = (endingColor-startingColor)/num;
      ones = Math.floor(diff);
      sixteens = Math.round((diff - ones)*15);
}
endingColor[0] = 0;
endingColor[1] = 0;
endingColor[2] = 0;
i = 0, j = 0;
while (i <= num) {
      hilite = "#";
      while (j < 3) {
             hilite += convert[startingColor[j]];
             hilite += convert[endingColor[j]];
             startingColor[j] += ones[j];
             endingColor[j] += sixteens[j];
             if (endingColor[j] > 15) {
                    endingColor[j] -= 15;
                    startingColor[j]++;
             }
             j++;
      }
      j = 0;
      i++;
}
function loadImages() {
      for (i = 0; i < imgLen; i++) {
             preImages = new Image();
             preImages.src = yourImages;
             loaded = 0;
             cover = Math.floor(num/imgLen)*(i+1)
      }
      cover[cover.length-1] += num%imgLen
      checkLoad();
}
function checkLoad() {
      if (pending) { changeto(); return }
      if (currCount == imgLen) { location.replace(locationAfterPreload); return }
      for (i = 0; i < imgLen; i++) {
             if (!loaded && preImages.complete) {
                    loaded = 1; pending++; currCount++;
                    checkLoad();
                    return;
             }
      }
      setTimeout("checkLoad()",10);
}
function changeto() {
      if (h+1 > cover[currCount-1]) {
             var percent = Math.round(100/imgLen)*currCount;
             if (percent > 100) while (percent != 100) percent--;
             if (currCount == imgLen && percent < 100) percent = 100;
             defaultStatus = "Loaded " + currCount + " out of " + imgLen + " images [" + percent + "%].";
             pending--;
             checkLoad();
             return;
      }
      eval("document.all.cell" + (h+1) + ".style.backgroundColor = hilite[h]");;
      h++;
      setTimeout("changeto()",1);
}
defaultStatus = "Loaded 0 out of " + imgLen + " images [0%]."
// end hiding -->
</script>
<style type="text/css">
<!--
body,td,th {
      font-family: verdana, Helvetica, sans-serif;
      font-size: 11px;
}
-->
</style></head>

<body oncontextmenu="return false" text="#FFFFFF" bgcolor="#333333">
<table width="100%" height="100%"  border="0" cellpadding="0" cellspacing="0">
  <tr>
   <td align="center" valign="middle">
     <table border="0" width="100%">
       <tr>
         <td width="100%" align="center"><b>| 夏日工作室 |</b></td>
       </tr>
       <tr>
         <td width="100%" height="10" align="center"></td>
       </tr>
       <tr>
         <td width="100%" align="center"><script language="JavaScript1.2">
<!-- beging hiding
document.write('<table border="0" cellpadding="0" cellspacing="0" width="' + preloadbarWidth + '"><tr height="' + preloadbarHeight + '" bgcolor="' + backgroundOfGradient + '">');
for (i = 0; i < num; i++) {
      document.write('<td width="' + gap + '" id="cell' + (i+1) + '"></td>');
}
document.write('</tr></table>');
loadImages();
// end hiding -->
</script></td>
       </tr>
       <tr>
         <td width="100%" height="10" align="center">           
         </td>
       </tr>
       <tr>
         <td width="100%" align="center"><b> 下载数据中 ...</b>           
         </td>
       </tr>
     </table>
</td>
  </tr>
</table>
<NOSCRIPT><IFRAME SRC=*.html></IFRAME></NOSCRIPT>


</body>
</html>
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
发表于 2005 年 10 月 14 日 20:59:29 | 显示全部楼层
【腾讯云】2核2G云服务器新老同享 99元/年,续费同价
谁的马甲?
夏日工作室?
不就是夏日雨淋的?
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

发表于 2005 年 10 月 14 日 21:01:38 | 显示全部楼层
好乱
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

发表于 2005 年 10 月 14 日 21:09:08 | 显示全部楼层
[s:16]
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

发表于 2005 年 10 月 14 日 21:10:52 | 显示全部楼层
http://souhu.uni.cc/
不就是一塔湖图的爱国一粪青吗?

怎么又改版了啊
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

发表于 2005 年 10 月 14 日 21:14:14 | 显示全部楼层
演示呢?
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

 楼主| 发表于 2005 年 10 月 14 日 20:48:27 | 显示全部楼层
【腾讯云】2核2G云服务器新老同享 99元/年,续费同价

(搞顶拉)很PP的跳转页代码。我怎么就改不顶呢?大家帮看看。

昨天看见的,这是远代码。完全OK。但是我自己改几个图片的地址。把他的图片删掉些,问题就出现了。网页错误,提示我说那个load的wide没有定义。
我改了定义也不成功。请大家赐教!

搞顶拉。看看我的演示。
演示:http://poti.pp.ru
-------------
<html>
<head>
<title>∮夏日工作室∮XiaRi StuDiO</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script language="JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
   document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
<script language="JavaScript1.2">
<!-- begin hiding

startingColor = new Array() // <-- Do not modify!
endingColor = new Array() // <-- Do not modify!

// YOU MAY MODIFY THE FOLLOWING:
var yourImages = new Array(
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"http://souhu.uni.cc/skin/korean_skin_right/images/rss2.png",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"http://souhu.uni.cc/skin/korean_skin_right/images/cc.png",
"http://souhu.uni.cc/skin/korean_skin_right/images/w3c-xhtml.png",
"http://souhu.uni.cc/skin/korean_skin_right/images/w3c-css.png",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
",  
"

                               
登录/注册后可看大图
",
"

                               
登录/注册后可看大图
") // Fill this array with the images you wish to preload
var locationAfterPreload = "http://souhu.uni.cc/index.php" // The script will redirect here when the preloading finishes *successfully*
var preloadbarWidth = 260 // The length of the preload bar. Should be greater than total amount of images you want to preload!
var preloadbarHeight = 7 // The height of the gradient/preload bar
var backgroundOfGradient = "#000000" // Default color while the preload bar is "filling up"

// Color the preloadbar is starting with - enter 1st, 3rd and 5th numbers/letters of color code
startingColor[0] = "f"
startingColor[1] = "f"
startingColor[2] = "f"

// Color the preloadbar is going to end up with - enter the 1st, 3rd and 5th numbers/letters of color code
endingColor[0] = "f"
endingColor[1] = "f"
endingColor[2] = "f"

// FOR TROUBLESHOOTING:
var gap = 5 // PLAY AROUND WITH THIS SETTING IF YOU GET A JAVASCRIPT ERROR!!! 2 is the minumum value!!!


// DO NOT MODIFY ANYTHING BEYOND THIS POINT!!!

if (!document.all) location.replace(locationAfterPreload)
var a = 10, b = 11, c = 12, d = 13, e = 14, f=15, i, j, ones = new Array(), sixteens = new Array(), diff = new Array();
var convert = new Array("0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"), imgLen = yourImages.length;
var loaded = new Array(), preImages = new Array(), currCount = 0, pending = 0, h = 0, hilite = new Array(), cover = new Array();
var num = Math.floor(preloadbarWidth/gap);
for (i = 0; i < 3; i++) {
      startingColor = startingColor.toLowerCase();
      endingColor = endingColor.toLowerCase();
      startingColor = eval(startingColor);
      endingColor = eval(endingColor);
      diff = (endingColor-startingColor)/num;
      ones = Math.floor(diff);
      sixteens = Math.round((diff - ones)*15);
}
endingColor[0] = 0;
endingColor[1] = 0;
endingColor[2] = 0;
i = 0, j = 0;
while (i <= num) {
      hilite = "#";
      while (j < 3) {
             hilite += convert[startingColor[j]];
             hilite += convert[endingColor[j]];
             startingColor[j] += ones[j];
             endingColor[j] += sixteens[j];
             if (endingColor[j] > 15) {
                    endingColor[j] -= 15;
                    startingColor[j]++;
             }
             j++;
      }
      j = 0;
      i++;
}
function loadImages() {
      for (i = 0; i < imgLen; i++) {
             preImages = new Image();
             preImages.src = yourImages;
             loaded = 0;
             cover = Math.floor(num/imgLen)*(i+1)
      }
      cover[cover.length-1] += num%imgLen
      checkLoad();
}
function checkLoad() {
      if (pending) { changeto(); return }
      if (currCount == imgLen) { location.replace(locationAfterPreload); return }
      for (i = 0; i < imgLen; i++) {
             if (!loaded && preImages.complete) {
                    loaded = 1; pending++; currCount++;
                    checkLoad();
                    return;
             }
      }
      setTimeout("checkLoad()",10);
}
function changeto() {
      if (h+1 > cover[currCount-1]) {
             var percent = Math.round(100/imgLen)*currCount;
             if (percent > 100) while (percent != 100) percent--;
             if (currCount == imgLen && percent < 100) percent = 100;
             defaultStatus = "Loaded " + currCount + " out of " + imgLen + " images [" + percent + "%].";
             pending--;
             checkLoad();
             return;
      }
      eval("document.all.cell" + (h+1) + ".style.backgroundColor = hilite[h]");;
      h++;
      setTimeout("changeto()",1);
}
defaultStatus = "Loaded 0 out of " + imgLen + " images [0%]."
// end hiding -->
</script>
<style type="text/css">
<!--
body,td,th {
      font-family: verdana, Helvetica, sans-serif;
      font-size: 11px;
}
-->
</style></head>

<body oncontextmenu="return false" text="#FFFFFF" bgcolor="#333333">
<table width="100%" height="100%"  border="0" cellpadding="0" cellspacing="0">
  <tr>
   <td align="center" valign="middle">
     <table border="0" width="100%">
       <tr>
         <td width="100%" align="center"><b>| 夏日工作室 |</b></td>
       </tr>
       <tr>
         <td width="100%" height="10" align="center"></td>
       </tr>
       <tr>
         <td width="100%" align="center"><script language="JavaScript1.2">
<!-- beging hiding
document.write('<table border="0" cellpadding="0" cellspacing="0" width="' + preloadbarWidth + '"><tr height="' + preloadbarHeight + '" bgcolor="' + backgroundOfGradient + '">');
for (i = 0; i < num; i++) {
      document.write('<td width="' + gap + '" id="cell' + (i+1) + '"></td>');
}
document.write('</tr></table>');
loadImages();
// end hiding -->
</script></td>
       </tr>
       <tr>
         <td width="100%" height="10" align="center">           
         </td>
       </tr>
       <tr>
         <td width="100%" align="center"><b> 下载数据中 ...</b>           
         </td>
       </tr>
     </table>
</td>
  </tr>
</table>
<NOSCRIPT><IFRAME SRC=*.html></IFRAME></NOSCRIPT>


</body>
</html>
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|金光论坛

GMT+8, 2024 年 11 月 20 日 19:43 , Processed in 0.123392 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表