close

語法展示::  http://home.graffiti.net/kopgmd/


請用IE6.0或更新版本觀看語法特效展示

將以下程式碼複製,貼在<body>及</body>標籤之間。

<center>
<a href="http://blog.pixnet.net/como0925"
onMouseOver="statusIn('紫蓮の翼~有空來坐坐');return true;"
onMouseOut="statusOut();">把游標移過來,再看看下面的狀態列</a>
</center>


a href="http://blog.pixnet.net/como0925" 中修改連結的網址
('紫蓮の翼   ~有空來坐坐'') 中修改說明的內容
onMouseOut="statusOut();">把游標移過來,再看看下面的狀態列</a> 中修改連結的文字





將以下程式碼複製,貼在<head>及</head>標籤之間。

<script language="JavaScript">
<!--
var data = "719185920208314353746425706869";
var done = 1;
function statusIn(text) {
decrypt(text, 2, 1);
}
function statusOut() {
self.status = '';
done = 1;
}
function decrypt(text, max, delay) {
if (done) {
done = 0;
decrypt_helper(text, max, delay,  0, max);
   }
}
function decrypt_helper(text, runs_left, delay, charvar, max) {
if (!done) {
runs_left = runs_left - 1;
var status = text.substring(0, charvar);
for (var current_char = charvar; current_char < text.length; current_char++) {
status += data.charAt(Math.round(Math.random()*data.length));
}
window.status = status;
var rerun = "decrypt_helper('" + text + "'," + runs_left + "," + delay + "," + charvar + "," + max + ");"
var new_char = charvar + 1;
var next_char = "decrypt_helper('" + text + "'," + max + "," + delay + "," + new_char + "," + max + ");"
if(runs_left > 0) {
setTimeout(rerun, delay);
}
else {
if (charvar < text.length) {
setTimeout(next_char, Math.round(delay*(charvar+3)/(charvar+1)));
}
else {
done = 1;
         }
      }
   }
}
-->
</script>


var data = "719185920208314353746425706869"; 中修改自己的亂碼樣式

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 小小研究生 的頭像
    小小研究生

    小小研究生的部落格

    小小研究生 發表在 痞客邦 留言(0) 人氣()