2006-11-27 05:54 PM XDKAKA
閃爍捲軸

<SCRIPT LANGUAGE="JavaScript">
var speed = 600;
var Color1 = "#00ff00"
var Color2 = "#ff00ff"
var Color3 = "#cc99ff"
var Color4 = "#0033ff"
var Color5 = "#99ffff"
var Color6 = "#ffff00"
var Color7 = "#ff9900"
var i = 0;
function rainbow(){
if (document.all){
i++;
if (i==1) R = Color1
if (i==2) R = Color2
if (i==3) R = Color3
if (i==4) R = Color4
if (i==5) R = Color5
if (i==6) R = Color6
if (i==7) R = Color7
document.body.style.scrollbarBaseColor = R
if (i>7) i=0;
timer=setTimeout('rainbow()', speed)
}}window.onload=rainbow;
</SCRIPT>

頁: [1]
查看完整版本: 閃爍捲軸


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.