I put up a code so I can type on a image and the text is randomized like a banner jumble but this is text. But the code doesn't work and I desperately need someone to fix it.
Thanks in Advance
- Code:
<table border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td style="text-align: center;" valign="middle" width="300" background="http://i31.tinypic.com/awuy4h.jpg" height="150">
<script type="text/javascript" >
window.onload=function(){
var wch=(Math.floor(Math.random()*2)+1);
document.getElementById('ran'+wch).style.display='inline';
<span id="ran1"><font color="black" size="+1">Hello<br></span></font></td>
</span>
<span id="ran2"><font color="black" size="+1">Bye<br></span></font></td>
</span>
</tr>
</tbody></table>
Thanks in Advance