Full version: jsB@nk » Funny » Yes-No Question
URL: https://www.javascriptbank.com/yes-no.html
This script creates a button that you can't press it.
Full version: jsB@nk » Funny » Yes-No Question
URL: https://www.javascriptbank.com/yes-no.html
<SCRIPT LANGUAGE="JavaScript"><!--flag=1function f1(){alert("Yes. you are right ")}function s(){alert("Sorry.. this is just for a fun ")}function f(){if(flag==1){Bn.style.top=90Bn.style.left=500flag=2}else if(flag==2){Bn.style.top=90Bn.style.left=50flag=3}else if(flag==3){Bn.style.top=235Bn.style.left=360flag=1}}//--></SCRIPT><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<BODY onUnLoad="s()"><DIV ID="By" STYLE="position:absolute; left:285px; top:235px; width:210px; height:210px;"><INPUT TYPE="button" value=" YES " onClick="f1()"></div><DIV ID="Bn" STYLE="position:absolute; left:360px; top:235px; width:210px; height:210px;"><INPUT TYPE="button" value=" NO " onMouseOver="f()"></div></BODY><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->