Full version: jsB@nk » Browser » Window » Expading Horizontal Window
URL: https://www.javascriptbank.com/expading-horizontal-window.html
Add the option of allowing links on your page to be opened in a new window with this powerful script. This JavaScript will open a new window with increasing size.
Full version: jsB@nk » Browser » Window » Expading Horizontal Window
URL: https://www.javascriptbank.com/expading-horizontal-window.html
<SCRIPT type=text/javascript><!--// Copyright 2001 Angela Michaels// This script may be freely used // with this disclaimer intactfunction Rsz(){// set url to be shown in popup after it's finished resizingMy_win_url="popup_content.html";// speed the popup width growsvar Wspeed=7;// speed the popup height growsvar Hspeed=5;// background color of popup until page loadsvar backgroundcolor="#FFE7AC";// text color of Loading textvar textcolor="#582c27";// for full screen window width use rszwidth=window.screen.width// for full screen window height use rszheight=window.screen.heightvar rszwidth=300;var rszheight=400;// don't change anything after this lineif(document.layers) {var My_Win = window.open("","Window","scrollbars");}if(document.all) {var My_Win = window.open("","Window","top=0,left=0,width=1,height=1,scrollbars");}My_Win.document.open();My_Win.document.write('<HTML><BODY BGCOLOR="'+backgroundcolor+'">')My_Win.document.write('<FONT FACE="Verdana" COLOR="'+textcolor+'">Please Wait ......... Loading')My_Win.document.write('</FONT></BODY></HTML>');My_Win.document.close();My_Win.focus();for (H=1; H<rszheight; H+= Hspeed){My_Win.window.resizeTo(1,H);}for (W=1; W<rszwidth; W+= Wspeed){My_Win.window.resizeTo(W,H);}My_Win.location = My_win_url;}--></SCRIPT><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<BODY onload=Rsz()></BODY><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->