Click global icon, toggles to normal mode - non fullscreen, so far.

This commit is contained in:
mgalli%geckonnection.com 2005-10-25 19:09:53 +00:00
parent bb76c92795
commit 7d01b1a9b8
2 changed files with 11 additions and 3 deletions

View File

@ -675,10 +675,17 @@ function BrowserScreenRotate()
function BrowserMenuPopup() {
document.getElementById("menu_MainPopup").showPopup(document.getElementById("menu-button"),-1,-1,"popup","bottomleft", "topleft");
}
function BrowserMenuPopupFalse() {
document.getElementById("menu_MainPopup").hidePopup();
}
function BrowserMenuPopupContextualMenu() {
document.getElementById("contentAreaContextMenu").hidePopup();
DoFullScreen();
BrowserMenuPopup();
}
function MenuPopupShowing() {
gShowingMenuPopup=true;
document.getElementById("menu-button").focus();

View File

@ -88,6 +88,7 @@
<command id="cmd_DoPanelPreferences" oncommand="DoPanelPreferences()" />
<command id="cmd_DoBrowserRSS" oncommand="DoBrowserRSS()" />
<command id="cmd_BrowserMenu" oncommand="BrowserMenuPopup()" />
<command id="cmd_BrowserMenuContextual" oncommand="BrowserMenuPopupContextualMenu()" />
<command id="cmd_Quit" oncommand="window.close();" />
<toolbar id="nav-bar" accessfocus="menu-button" accessnextrule="toolbar-view" accessprevrule="accesstabcontent" >