Online Shopping : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

177 of 435 people (41%) answered Yes
Recently 5 of 10 people (50%) answered Yes

Entry

how to hide toolbar,menubar in current window._self in window.open isn't working

Apr 7th, 2008 22:37
ha mo, Mirek Komárek, divya balasubramnian, Mirek


I found somewhere this , but just for Netscape , I am looking for 
something like this for IE
function showmenu()
{
netscape.security.PrivilegeManager.enablePrivilege
("UniversalBrowserWrite");
window.menubar.visible=true;
window.directories.visible=true;
window.statusbar.visible=true;
window.toolbar.visible=true;
window.locationbar.visible=true;
window.personalbar.visible=true;
window.scrollbars.visible=true;
netscape.security.PrivilegeManager.disablePrivilege
("UniversalBrowserWrite");
}
function hidemenu()
{
netscape.security.PrivilegeManager.enablePrivilege
("UniversalBrowserWrite");
window.menubar.visible=false;
window.directories.visible=false;
window.statusbar.visible=false;
window.toolbar.visible=false;
window.locationbar.visible=false;
window.personalbar.visible=false;
window.scrollbars.visible=false;
netscape.security.PrivilegeManager.disablePrivilege
("UniversalBrowserWrite");
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com