Rainbow effects on your Shoutout box
Page 1 of 1
Rainbow effects on your Shoutout box
Credits:Myfriends
Here's the code
Code:
just paste it in ur js extension file
Sorry I don't have a preview right now.
Here's the code
Code:
- Code:
/* AUTO FONT COLOR CHANGER */
var vhinM;
var newColor = new Array(5);
var curColor = 0;
newColor[0] = 'yellow';
newColor[1] = 'cyan';
newColor[2] = 'red';
newColor[3] = 'pink';
newColor[4] = 'violet';
newColor[5] = 'green';
newColor[6] = 'blue';
newColor[7] = 'orange';
newColor[8] = 'indigo';
function rotateColor() {
if (curColor == 8)
curColor = 0;
else
++curColor;
document.getElementById('cpShoutoutBox').style.color= newColor[curColor];
}
function startRotate() {
if (vhinM != null)
clearInterval(vhinM);
vhinM = setInterval("rotateColor()", 300);
}
window.onload = startRotate();
just paste it in ur js extension file
Sorry I don't have a preview right now.
CeeJay.zehrowh- HS Member
- Posts : 47
Reputation : 0
Join date : 2009-06-01
Age : 28
Place : Sa Computer
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|