My code out of work for few day..., please help... |
My code out of work for few day..., please help... |
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> |
|
|
|
cur113 My code out of work for few day... Apr 7 2006, 01:03 PM
digital.fragrance Your English is fine! Anyway, Xanga disabled ... Apr 7 2006, 07:07 PM
Sush-Rolls what they said ^^^^
Find a new blinkie box code
fo... Apr 7 2006, 10:24 PM
cur113 QUOTE(digital.fragrance @ Apr 8 2006, 8:0... Apr 7 2006, 11:58 PM
niez_cho You can encode the code at CodeHouse:
http://www.c... Apr 8 2006, 02:26 AM
cur113 QUOTE(niez_cho @ Apr 8 2006, 3:26 PM) You... Apr 8 2006, 12:03 PM![]() ![]() |