»
AnglaisFran�aisVietnamien

Imprimer - Ouvre la fenêtre d'animation - JavaScriptBank.com

Version compl�te: jsB@nk » Browser » Window » Ouvre la fenêtre d'animation
URL: https://www.javascriptbank.com/animated-window-opener.html

Ouvre la fenêtre d'animation © JavaScriptBank.comOuvre une seconde fenêtre qui se développe pour couvrir la totalité de l'écran avant de charger le document spécifié dans lui.

Version compl�te: jsB@nk » Browser » Window » Ouvre la fenêtre d'animation
URL: https://www.javascriptbank.com/animated-window-opener.html



JavaScript
<SCRIPT><!--function coolIntro(){ if (!document.layers&&!document.all&&!document.getElementById)  {   paramstp="height=580,width=796,top=0,left=0,scrollbars=yes,location=no"+   ",directories=no,status=no,menubar=no,toolbar=no,resizable=yes"   var gwa=window.open("newwind.html","",paramstp);   if (gwa.focus){gwa.focus();}   return;  } var movespeed=200; var resizespeed=100; var winreswidth=window.screen.availWidth; var winresheight=window.screen.availHeight; var leftspeed=winreswidth/movespeed; var topspeed=winresheight/movespeed; var movewidth=winreswidth; var moveheight=winresheight; var widthspeed=winreswidth/resizespeed; var heightspeed=winresheight/resizespeed; var sizewidth=0; var sizeheight=0; var gwa=open("popup_content.html","","left="+winreswidth+",top="+winresheight+",width=100,height=100,toolbar=no,menubar=no,location=no,status=no,scrollbars=yes,resizable=yes"); for (move=0;move<movespeed;move++)  {   gwa.moveTo(movewidth,moveheight);   movewidth-=leftspeed;   moveheight-=topspeed;  } gwa.moveTo("0","0"); for (size=0;size<resizespeed;size++)  {   gwa.resizeTo(sizewidth,sizeheight);   sizewidth+=widthspeed;   sizeheight+=heightspeed;  } gwa.resizeTo(winreswidth,winresheight); if (gwa.focus){gwa.focus();}}// --></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<input type=button onclick="coolIntro()" value="Run it"><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->