Difference between revisions of "User:Redneck"

From Hobowars Wiki
Jump to: navigation, search
Line 15: Line 15:
 
RedNeck™ (7000)
 
RedNeck™ (7000)
 
<br />
 
<br />
 +
 +
 +
----
 +
 +
    <center>
 +
        <font size=5>
 +
                <span id="letter_1" style="text-shadow: 1px 1px 3px black; color:#00FF00">L</span>
 +
                <span id="letter_2" style="text-shadow: 1px 1px 3px black; color:#FF0000">o</span> 
 +
                <span id="letter_3" style="text-shadow: 1px 1px 3px black; color:#0000FF">t</span>
 +
                <span id="letter_4" style="text-shadow: 1px 1px 3px black; color:#7a7aaa">t</span>
 +
                <span id="letter_5" style="text-shadow: 1px 1px 3px black; color:#4489f0">o</span>
 +
                &nbsp;
 +
                <span id="letter_6" style="text-shadow: 1px 1px 3px black; color:#dd0044">L</span> 
 +
                <span id="letter_7" style="text-shadow: 1px 1px 3px black; color:#31aa31">a</span>
 +
                <span id="letter_8" style="text-shadow: 1px 1px 3px black; color:#FFFF44">n</span>
 +
                <span id="letter_9" style="text-shadow: 1px 1px 3px black; color:#cc66cc">d</span>
 +
        </font>         
 +
    </center>
 +
 +
 +
    <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>

Revision as of 08:02, 1 August 2012

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>