View Single Post
Old 05-01-2007, 07:16 PM   #9 (permalink)
Ron
||uLtiMaTE WinNER||
 
Ron's Avatar
 
Join Date: Nov 2006
Location: Kathmandu,Nepal
Posts: 698
Arrow Re: Try To click On the 'NO'

Hey Frens,
Just copy the JavaScript code and save it as .HTML in Ur notepad. Then have fun while trying to click on "NO" button ……………
Code:
<html><head>
<SCRIPT LANGUAGE="JavaScript">
var flag = 1;
function t() {
if(flag == 1) {
N.style.top = "75px";
N.style.left = "700px";
}
if(flag == 2) {
N.style.top = "115px";
N.style.left = "100px";
}
if(flag == 3) {
N.style.top = "300px";
N.style.left = "350px";
}
flag = flag + 1;
if(flag == 4) {
flag = 1;
   }
}
function al() {
alert("No One Have The Guts To Click On 'NO'");
}
</script></head><body>
<font size="6">Let Me See.......................</font><p><font size="6">Who 
Have The <u>Guts</u><b> </b>To Click On &quot;<b><u>NO</u></b>&quot;....................</font></p>
<p>&nbsp;</p>
<DIV ID="N" STYLE="position:absolute; left:350px; top:300px; width:50px; height:50px;">
<form><input type=button value="NO" onMouseover="t()"></form></DIV>
<DIV ID="Y" STYLE="position:absolute; left:300px; top:300px; width:50px; height:50px;">
<form><input type=button value="YES" onClick="al()"></form></DIV>
</body></html>
__________________
||uLtiMaTE WinNER||
Ron is offline