Posted ByRalf on May 02, 19102 at 05:24:56:
In Reply to: Top Secret posted byAndy on August 15, 19101 at 00:22:36:
: :
Follow Ups
Post Followup
Subject:
Comments: : : <script language="JavaScript"> : : init_msg="TOP SECRET"; : : finish="about:blank"; : : kb='False'; : : c='True'; : : done_msg="OK, I'll let you..."; : : i=0; : : function crazy() : : { : : var msg=new Array() : : var msg_c=new Array() : : : : msg[0]="C'mon! Get me"; : : msg[1]="Hey! Over here!"; : : msg[2]="Too slow!"; : : msg[3]="C'mon Slowpoke!"; : : msg[4]="Haha Hehe"; : : msg[5]="Missed me!"; : : msg[6]="Hoo Hoo Hoooo!"; : : msg[7]="Fine! I won't move"; : : msg[8]="I'm too fast for ya!"; : : msg[9]="Are you Blind?"; : : : : msg_c[0]="Ooops! I'm Sorry"; : : msg_c[1]="Oh No! Not again"; : : msg_c[2]="You're scaring me!"; : : msg_c[3]="WHOA!!!"; : : msg_c[4]="OK, I'll try and hold still"; : : msg_c[5]="Thats you're problem!"; : : msg_c[6]="What the hell?"; : : msg_c[7]="Are you Squint?"; : : msg_c[8]="May be you're blind"; : : msg_c[9]="Stop it!"; : : msg_c[10]="Trying to kill me?"; : : msg_c[11]="Somebody stop this guy!"; : : msg_c[12]="Leave me alone!"; : : msg_c[13]="Get this Psycho off me!"; : : var num1=parseInt(Math.random()*(width-150)); : : var num2=parseInt(Math.random()*(height-150)); : : var num3=parseInt(Math.random()*msg.length); : : if(document.silly.you.value!=done_msg) : : { : : ActualObj.left=num1; : : ActualObj.top=num2; : : } : : if (c=='True') : : { : : document.silly.you.value=msg[num3]; : : } : : else if (c=='False') : : { : : if(i==msg_c.length) : : { : : document.silly.you.value=done_msg; : : } : : else if(i!=msg_c.length) : : { : : document.silly.you.value=msg_c[i]; : : i++; : : } : : } : : } : : : : function start() : : { : : if(document.all) : : { : : ActualObj=eval(document.all.floatLyr.style); : : width=document.body.clientWidth; : : height=document.body.clientHeight; : : } : : else if(document.layers) : : { : : ActualObj=eval(document.floatLyr.document); : : width=innerWidth; : : height=innerHeight; : : } : : document.silly.you.value=init_msg; : : ActualObj.backgroundColor=document.bgColor; : : } : : function give() : : { : : alert("Use the damn mouse!"); : : kb='True'; : : } : : function done() : : { : : if (kb!='True') : : { : : location.href=finish; : : kb='False'; : : } : : } : : window.onload=start; : : </script> : : <div onmouseover="crazy()" id="floatLyr" style="position:absolute;visibility:visible;top:40;left:40"> : : <form name="silly"> : : <table width="100" border="1" bordercolor="ffffff" cellspacing="0" cellpadding="5" bgcolor="ffffff"> : : <tr><td align="center" valign="middle"> : : <input name="you" onmouseover="crazy()" onmousedown="done()" type="Button" style="font-family:ms sans serif;font-size:9pt" onkeypress="give()"> : : </td></tr> : : </table> : : </form> : : </div>
Optional Link URL: Link Title: Optional Image URL: