Setting Browser Properties
Posted: Wed Feb 25, 2004 12:20 pm
I have a php application that opens a new browser window via:
<A href="viewer.php image=models/1_mod_interior1.jpg" target="new">
In the viewer.php file I get the image information in php code and resize the new browser window via:
onLoad="window.resizeTo($w,$h)
Is there a way to use JavaScript to turn off various Browser properties such as scrollbars, toolbars, etc......
Since I'm not using window.open, but rather opening a new browser window using target=new, I'd like to place JavaScript code in the viewer.php file to turn off several Browser properties.
thanx
crandym
<A href="viewer.php image=models/1_mod_interior1.jpg" target="new">
In the viewer.php file I get the image information in php code and resize the new browser window via:
onLoad="window.resizeTo($w,$h)
Is there a way to use JavaScript to turn off various Browser properties such as scrollbars, toolbars, etc......
Since I'm not using window.open, but rather opening a new browser window using target=new, I'd like to place JavaScript code in the viewer.php file to turn off several Browser properties.
thanx
crandym