Click to See Complete Forum and Search --> : eliminating menubars, toolbars and rezising upon load


camansega
05-06-2006, 08:37 AM
Hello,

I am kind of new in HTML and need some help. I need to disable the menubar, the toolbar and to resize the window upon loading a web page. That is, I type-in the webaddress (URL) of my page and before it finishes loading in then browser (Mozilla/IE) the two bars disappeared and the browser window resized.

All help or tips highly appreciated.

Note: This is not the window.open() JS function. it is totally different.

Carlos Mosquera

<Eddie>
05-06-2006, 12:27 PM
HTML cannot do this on it's own and JS cannot do this dynamically to the current window so you have little option but to use window.open().

felgall
05-06-2006, 03:51 PM
You have no control over any window that you didn't open and some of the things you are trying to do can only be done on windows you do open where your visitor allows you that much access to their system. You can remove the menu bar and tool bar from a new window that you open and set it so it can't resize provided that your visitor allows you to block resizing. Once a window is open then you can't change any of these settings apart from being able to ask to resize a window that you opened (provided that your visitor permits resizing).