User:Redneck
From Hobowars Wiki
My Hobos
HoboWars:
RedNeck™ (7000)
L o t t o L a n d
<script type="text/javascript"> function genHex(){ colors = new Array(14) colors[0]="0" colors[1]="1" colors[2]="2" colors[3]="3" colors[4]="4" colors[5]="5" colors[5]="6" colors[6]="7" colors[7]="8" colors[8]="9" colors[9]="a" colors[10]="b" colors[11]="c" colors[12]="d" colors[13]="e" colors[14]="f"
digit = new Array(5) color="" for (i=0;i<6;i++){ digit[i]=colors[Math.round(Math.random()*14)] color = color+digit[i] } return color; }
function changecol() { new_col = genHex(); $("#letter_9").css({color: $("#letter_8").css('color')}); $("#letter_8").css({color: $("#letter_7").css('color')}); $("#letter_7").css({color: $("#letter_6").css('color')}); $("#letter_6").css({color: $("#letter_5").css('color')}); $("#letter_5").css({color: $("#letter_4").css('color')}); $("#letter_4").css({color: $("#letter_3").css('color')}); $("#letter_3").css({color: $("#letter_2").css('color')}); $("#letter_2").css({color: $("#letter_1").css('color')}); $("#letter_1").css({color: "#"+new_col}); setTimeout('changecol()', 500) } window.setTimeout('changecol()', 500); </script>