Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hide ToolBar in the Current Window

Status
Not open for further replies.

221d

Programmer
Jul 31, 2003
2
US
Is there any way to hide ToolBar int he current window?
window.open(URL,"","Attributes") does hide whatever I want.

But I would like to hide toolbar in the current window

thanks in advance
 
No, not possible to manipulate the current window in that fashion. You can exploit a bug in some browsers which will let you close the current window by setting the 'opener' property of the window to itself:
Code:
self.opener = self;
window.open(self.location,'newWin','fullscreen');
self.close();
[/close]

But as with all bug exploits, not going to work every time. Also considered quite rude.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top