Help - Search - Members - Calendar
Full Version: My code out of work for few day...
Forums > Resource Center > Support Center > Xanga Support > Xanga Resolved Topics
cur113
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>
digital.fragrance
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!
Sushi-Rolls
what they said ^^^^
Find a new blinkie box code
fom a xanga code site.
cur113
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..
gelionie
You can encode the code at CodeHouse:
http://www.codehouse.com/webmaster_tools/html_encoder/

First input your blinkie boxes code into "HTML Input", then replace the original code with the "HTML output" in your Look and Feel page.
cur113
QUOTE(niez_cho @ Apr 8 2006, 3:26 PM) *
You can encode the code at CodeHouse:
http://www.codehouse.com/webmaster_tools/html_encoder/

First input your blinkie boxes code into "HTML Input", then replace the original code with the "HTML output" in your Look and Feel page.

i tried it in other post...
it doesn't work><

anyway,,thanks~
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.