View Full Version : how to hide all toolbars like yahoo,google etc onLoad

08-11-2006, 01:44 PM
how to hide all toolbars like yahoo,google etc onLoad.
Actually window.open function cannot be taken into.I need the toolbars to be hidden in the beginning.
please help

08-11-2006, 10:33 PM
From what I understand that cant be done exactly, this is the solution I worked out with some help of course... Also note, that a window can't close w/o the users permission in most browers (so a confirm box might appear to as the user to close the window or not), FF will instead hide the window to the back of the newly focused window, browers with tabs will most likely let a script close it out from what I have seen. Also, if the user has a good popup blocker this may not work at all:

Inside the initial window at the JS HEAD area place:


Inside the new window JS HEAD area place:


08-12-2006, 01:13 AM
On any decent web browser the Javascript does not have access to update anything outside of the web page and can only open new browser windows when your visitor clicks on a link. If they have toolbars installed then they want them there and you have no right to try to interfere with them. If they didn't want them there then they would delete them.