變色立體視窗框邊
立體窗框上下轉動時會變顏色
<SCRIPT LANGUAGE="JavaScript">
<!--
<!--修改邊框顏色-->
colours=new Array('FF0000','FF9900','FFFF00','00FF00','00FFFF','0000FF','FF00FF')
function gs(){
var clrPos=Math.floor(Math.random()*colours.length)
with (window.document.body.style){
<!--修改邊框寬度-->
borderWidth=15;
borderStyle='ridge';
borderColor=colours[clrPos];
}}
if (document.all)window.document.body.onscroll=gs;
// -->
</SCRIPT>