Forum Moderators: open
I have a question about how to pull back the menubar, address bar and scroll bar that disable on the current setting.
I made a custom menubar, scrollbar and address bar that reflect my company corporate identity (such color, icon, etc), by making a new pop up window and set the default menubar, scrollbar and address bar disable and replace it with my company customize menubar, scroll, and addressbar.
They all are fully functionable.
The problem is raising when visitor use the customize address bar and other to visit another site. The customize stuff disappear (of course), and leave an empty browser navigator since i set it disable from the begining.
My question is, is it possible to pullback all that bars without poping up a new window browser.
Sorry for posting a long post..:), i just want everybody know the situation, thank in advance.
Jasmine
function changeProperties() {
window.menubar.visible = false;
alert(window.menubar.visible);
window.menubar.visible = true;
alert(window.menubar.visible);
}
This was an old post from another board i have found last nite. The coder explain that this function first hides the menubar of the actual window and afterwards displays the menubar again.
I have try it though, but still cant work, do you know something i missed.
Thanks again
Jasmine
For all intents and purposes the function might as well be... function changeProperties() {
window.menubar.purple_people_eater = "one_eyed_one_horned";
alert(window.menubar.purple_people_eater);
window.menubar.purple_people_eater = "dead";
alert(window.menubar.purple_people_eater);
}
From everything I've seen korkus is spot on. You can't show / hide status, menubar, toolbar, scrollbars or location after the initial window creation. You have to set them how you want them with the window.open() method, then you're stuck with them until the window is closed.
Jordan