背景变换
[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]
文字颜色渐变(无闪屏)
文字颜色渐变(无闪屏)
[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]
function wh_10to16(n){ var a = new Array(16); a[0]="0";a[1]="1";a[2]="2";a[3]="3";a[4]="4";a[5]="5";a[6]="6";a[7]="7";a[8]="8";a[9]="9";a[10]="A";a[11]="B";a[12]="C";a[13]="D";a[14]="E";a[15]="F"; return a[parseInt(n/16)]+a[n%16] } function wh_TransbgMakeColor(r,g,b){ return wh_10to16(r)+wh_10to16(g)+wh_10to16(b); } function wh_TransbgGetColorInc(r1,r2){ if (r1 < r2) return 1; else if (r1 > r2) return -1; else return 0; } function wh_changebg() { var r = wh_TransbgR1; var g = wh_TransbgG1; var b = wh_TransbgB1; wh_TransbgR1 += wh_TransbgGetColorInc(wh_TransbgR1,wh_TransbgR2)*wh_TransbgSpeed; wh_TransbgG1 += wh_TransbgGetColorInc(wh_TransbgG1,wh_TransbgG2)*wh_TransbgSpeed; wh_TransbgB1 += wh_TransbgGetColorInc(wh_TransbgB1,wh_TransbgB2)*wh_TransbgSpeed; if ((r-wh_TransbgR2)*(wh_TransbgR1-wh_TransbgR2)