thealan
06-11-2007, 04:17 PM
What I want to do is to make a window move to a certain location, set its height and width values, make it not resizable, and remove the scrollbars, toolbar and menubar. However, I do not want to open a new window, I want to make the current window do this onload, any ideas?
For example:
I know I can do this by opening a new window using window.open()
window.open(url,'title','height=1030,width=745,resizable=no,scrollbar=no,toolbar=no,menubar=no');
but I do not want to open a new window, I simply want to apply this to a currently opened window (eg. Say I type in 'http://www.wherever.com/' in the address bar and hit go, I want to set the afore-mentioned properties to the page about to load.)
For example:
I know I can do this by opening a new window using window.open()
window.open(url,'title','height=1030,width=745,resizable=no,scrollbar=no,toolbar=no,menubar=no');
but I do not want to open a new window, I simply want to apply this to a currently opened window (eg. Say I type in 'http://www.wherever.com/' in the address bar and hit go, I want to set the afore-mentioned properties to the page about to load.)