»
EnglishFrenchVietnamese

Print - Shy Button - JavaScriptBank.com

Full version: jsB@nk » Funny » Shy Button
URL: https://www.javascriptbank.com/shybutton.html

Shy Button © JavaScriptBank.comTry to click the wrong answer with this clever script. Fun!

Full version: jsB@nk » Funny » Shy Button
URL: https://www.javascriptbank.com/shybutton.html



JavaScript
<SCRIPT language=JavaScript><!-- Beginvar flag = 1;function t() {if(flag == 1) {N.style.top = "120px";N.style.left = "220px";}if(flag == 2) {N.style.top = "120px";N.style.left = "380px";}flag = flag + 1;if(flag == 3) {flag = 1;   }}function al() {alert("Vay la em phai yeu anh roi do nha!");}//  End --></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<FORM><b><font face="verdana, arial" size="2" color="red">Do you love me?</font></b><DIV id=N style="HEIGHT: 30px; LEFT: 380px; POSITION: absolute; TOP: 120px; WIDTH: 100px"><INPUT onmouseover=t() type=button value="  No  "></DIV><DIV id=Y style="HEIGHT: 30px; LEFT: 300px; POSITION: absolute; TOP: 120px; WIDTH: 100px"><INPUT onclick=al() type=button value=" Yes "></DIV></FORM><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->