Log In · Register

 
My code out of work for few day..., please help...
cur113
post Apr 7 2006, 01:03 PM
Post #1


Member
**

Group: Member
Posts: 19
Joined: Jul 2005
Member No: 172,704



This code will make a bar that it will change the colour(the colour code you input) continuously.
But now,it out of work...just like the picture below

how can i make the code work again..?

thanks for help and sorry for my poor english..

the code are here...
what are the problems of the code..?
CODE
<script language=JavaScript>
<!--
var blinkColors = new Array("000000","ffffff");
var blinkBorderColor = "black"
var blinkBorderWidth = 1;
var blinkRows = 1;
var blinkCols = 31;
var blinkWidth = 615;
var blinkRowHeight = 10;
var blinkRate = 8;
st=setTimeout;
document.write("<table id='blinkbox' width='" + blinkWidth +"' border = 0 cellspacing='" + blinkBorderWidth + "' cellpadding=0 bgcolor='" + blinkBorderColor +"'>");
for (r = 0; r < blinkRows; r++){
document.write("<TR>");
for (c = 0; c < blinkCols; c++){
document.write("<TD height='" + blinkRowHeight + "'></TD>");
}
document.write("</TR>");
}
document.write("</table>");
function blinkIt() {
changecell = Math.floor(Math.random() * (blinkCols * blinkRows));
changecolor = Math.floor(Math.random() * blinkColors.length);
bb = document.getElementById("blinkbox");
bbtd = bb.getElementsByTagName("td");
bbtd[changecell].style.backgroundColor = blinkColors[changecolor];
st('blinkIt()', blinkRate);
}
blinkIt();
//-->
</script>
 
 
Start new topic
Replies
Sushi-Rolls
post Apr 7 2006, 10:24 PM
Post #2


Member
**

Group: Member
Posts: 14
Joined: Mar 2006
Member No: 389,754



what they said ^^^^
Find a new blinkie box code
fom a xanga code site.
 
cur113
post Apr 7 2006, 11:58 PM
Post #3


Member
**

Group: Member
Posts: 19
Joined: Jul 2005
Member No: 172,704



QUOTE(digital.fragrance @ Apr 8 2006, 8:07 AM) *
Your English is fine! Anyway, Xanga disabled the code - I tried it, and it didn't work for me. Xanga has been changing lately, so we are going to have to fix our codes.

Sorry about that!

No need to sorry about that^^
When you fixed your code,will you post it on Xanga Scripts or the post here?
thanks for reply me.

QUOTE(Sush-Rolls @ Apr 8 2006, 11:24 AM) *
what they said ^^^^
Find a new blinkie box code
fom a xanga code site.

sorry...i don't really understand what you mean...^^"
find a new blinkie box code?
but digital.fragrance said that xanga had disabled the code ?
thanks for reply me..
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: