Is there any way to have a browser window resize itself when
displaying a new HTML page? I'm using the javascript below to open a
NEW window at a certain size, but I'd prefer the page to load in the
same window, just sized differently. Here's the script I'm currently
using:
<a href="#" onClick="MyWind ow=window.open( 'THE_DOC.html', 'MyWindow','too lbar=no,locatio n=no,directorie s=no,status=yes ,menubar=no,scr ollbars=yes,res izable=yes,widt h=575,height=80 5,left=20,top=2 0');
return false;">
Any input appreciated.
displaying a new HTML page? I'm using the javascript below to open a
NEW window at a certain size, but I'd prefer the page to load in the
same window, just sized differently. Here's the script I'm currently
using:
<a href="#" onClick="MyWind ow=window.open( 'THE_DOC.html', 'MyWindow','too lbar=no,locatio n=no,directorie s=no,status=yes ,menubar=no,scr ollbars=yes,res izable=yes,widt h=575,height=80 5,left=20,top=2 0');
return false;">
Any input appreciated.
Comment