GRRRRRR Im starting to hate javascript….
Im trying to make a server status page in javascript that takes if statments from the clock code below.<script type="text/javascript">function startTime(){var today=new Date()var h=today.getHours()var m=today.getMinutes()var s=today.getSeconds()// add a zero in front of numbers<10m=checkTime(m)s=checkTime(s)document.getElementById('txt').innerHTML=h+":"+m+":"+st=setTimeout('startTime()',500)}function checkTime(i){if (i<10) {i="0" + i} return i}</script>Problem is I cant write an IF statment in javascript with this clock, I need to make it so that if time = below 3:00PM that it gives document.write ("server is offline") and if time = 3:00PM-10:00PM that document.write server is online BUT I CANT FigURE it out!!!!IF anyone wants to help me out, please post an example of it and ill put you in the credits of both my website and game. My MMORPG isnt in GM its in visual basic ahhh go figure i can write an MMORPG in VB but cant make a clock do what i want in Javascript……the website is located at www.legendzonline.co.nr
And throw melee to the ants.
À coeur léger sommeil sanglant!
Or just http://www.onelook.com/?w=*ant&ls=a
Tu parle le francais? Je ne parle pas le francais.