»
EnglishFrenchVietnamese

Print - Quake Window - JavaScriptBank.com

Full version: jsB@nk » Funny » Quake Window
URL: https://www.javascriptbank.com/quake-window.html

Quake Window © JavaScriptBank.comThis JavaScript makes a quaking window in a few seconds.

Full version: jsB@nk » Funny » Quake Window
URL: https://www.javascriptbank.com/quake-window.html



JavaScript
<script language="javascript">var W=800,H=420,CH=true,W1,X=0,Tfunction fun() {  X++  W1=open("../browser/popupcontent.html","",  "width="+W+",height="+H+",menubar=1,toolbar=1,status=1,scrollbars=1,location=1,status=1")   if(CH)    {     W=W+10;H=H+10;CH=false    }   else    {     W=W-10;H=H-10;CH=true    }  T=setTimeout("fun1()",1)  if(X>10){clearTimeout(T)X=0W1.close()} }function fun1() {  W1.close()  fun() }</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 color="#0000FF" size="5">Click the button to&nbsp; experience a small quake....</font></b><font color="#FF0000" size="5"><br><b>This will not create any troubles to your system.....</b></font><br><b><font color="#FF0000" size="4">And will last only for 5-6 seconds......</font></b><br><br><input type="button" onClick="fun()" value="  CLICK  ME FOR THE FUN  "></form><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->