1999-09-18 00:16:36 +04:00
|
|
|
<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
|
1999-07-14 04:03:57 +04:00
|
|
|
|
|
|
|
<!-- The contents of this file are subject to the Netscape Public
|
|
|
|
License Version 1.1 (the "License"); you may not use this file
|
|
|
|
except in compliance with the License. You may obtain a copy of
|
|
|
|
the License at http://www.mozilla.org/NPL/
|
|
|
|
|
|
|
|
Software distributed under the License is distributed on an "AS
|
|
|
|
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
implied. See the License for the specific language governing
|
|
|
|
rights and limitations under the License.
|
|
|
|
|
|
|
|
The Original Code is Mozilla Communicator client code, released
|
|
|
|
March 31, 1998.
|
|
|
|
|
|
|
|
The Initial Developer of the Original Code is Netscape
|
|
|
|
Communications Corporation. Portions created by Netscape are
|
|
|
|
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
|
|
|
Rights Reserved.
|
|
|
|
|
|
|
|
Contributor(s): ______________________________________. -->
|
|
|
|
|
|
|
|
|
1999-07-02 02:56:04 +04:00
|
|
|
<?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?>
|
1999-07-21 03:40:34 +04:00
|
|
|
<?xml-stylesheet href="chrome://bookmarks/skin/" type="text/css"?>
|
1999-09-28 08:40:15 +04:00
|
|
|
<?xul-overlay href="chrome://navigator/content/navigatorOverlay.xul"?>
|
1999-07-22 04:27:14 +04:00
|
|
|
<?xul-overlay href="chrome://global/content/tasksOverlay.xul"?>
|
1999-09-15 03:09:15 +04:00
|
|
|
<?xul-overlay href="chrome://sidebar/content/sidebarOverlay.xul"?>
|
1999-07-02 02:56:04 +04:00
|
|
|
|
1999-08-13 02:31:10 +04:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://navigator/locale/navigator.dtd" >
|
1999-09-28 08:40:15 +04:00
|
|
|
|
1999-07-02 02:56:04 +04:00
|
|
|
<window id="main-window" xmlns:html="http://www.w3.org/TR/REC-html40"
|
1999-09-15 03:09:15 +04:00
|
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
onload="Startup()"
|
|
|
|
onunload="Shutdown()"
|
|
|
|
title="&mainWindow.title;"
|
|
|
|
titlemodifier="&mainWindow.titlemodifier;"
|
|
|
|
titlemenuseparator="&mainWindow.titlemodifiermenuseparator;"
|
1999-09-18 07:32:53 +04:00
|
|
|
viewsourcetitlepreface="&viewsourcetitle.preface;"
|
1999-09-15 03:09:15 +04:00
|
|
|
windowtype="navigator:browser"
|
|
|
|
align="vertical"
|
|
|
|
width="640" height="480"
|
|
|
|
x="10" y="10"
|
1999-11-11 08:11:10 +03:00
|
|
|
persist="width height x y"
|
|
|
|
ondraggesture="return GeneralDrag(event);">
|
1999-09-15 03:09:15 +04:00
|
|
|
|
|
|
|
<html:script language="javascript" src="chrome://global/content/strres.js" />
|
|
|
|
<html:script language="javascript" src="navigator.js" />
|
1999-10-01 08:43:45 +04:00
|
|
|
<html:script language="javascript" src="nsContextMenu.js" />
|
1999-09-15 03:09:15 +04:00
|
|
|
<html:script language="javascript" src="tooltip.js" />
|
1999-07-02 02:56:04 +04:00
|
|
|
|
1999-12-01 03:29:27 +03:00
|
|
|
<commands id="commands">
|
|
|
|
<commandset id="globalEditMenuItems"/>
|
|
|
|
</commands>
|
|
|
|
|
1999-09-29 08:29:20 +04:00
|
|
|
<!-- broadcasters are appended from the overlay -->
|
|
|
|
<broadcasterset id="broadcasterset">
|
1999-10-26 04:39:19 +04:00
|
|
|
<broadcaster id="canReload" oncommand="BrowserReallyReload(0);"/>
|
1999-09-29 08:29:20 +04:00
|
|
|
<broadcaster id="canStop"/>
|
|
|
|
<broadcaster id="canPrint"/>
|
|
|
|
<broadcaster id="Browser:LoadingProgress"/>
|
|
|
|
<broadcaster id="Browser:Status"/>
|
|
|
|
<broadcaster id="Browser:Throbber" busy="false"/>
|
1999-12-01 03:29:27 +03:00
|
|
|
<broadcaster id="args" value=""/>
|
1999-09-29 08:29:20 +04:00
|
|
|
</broadcasterset>
|
|
|
|
|
|
|
|
<!-- Interim hack to transition from nsIXULWindowCallbacks/ShowWindowWithArgs -->
|
|
|
|
<broadcaster id="dialog.start" ready="false"/>
|
|
|
|
<observes element="dialog.start" attribute="ready" onbroadcast="onLoadWithArgs()"/>
|
|
|
|
|
|
|
|
<!-- keys are appended from the overlay -->
|
|
|
|
<keyset id="keyset"/>
|
|
|
|
|
|
|
|
|
1999-07-14 04:03:57 +04:00
|
|
|
<!-- This needs to go into a xul fragment, but since those don't work now, this stays here !-->
|
1999-09-10 12:56:26 +04:00
|
|
|
<popupset>
|
1999-09-15 03:09:15 +04:00
|
|
|
<popup id="aTooltip"
|
|
|
|
oncreate="return FillInTooltip(document.tooltipElement);">
|
|
|
|
style="border: thin solid black;">
|
|
|
|
<titledbutton id="replaceMe" align="left" crop="right" class="borderless"
|
|
|
|
value="" />
|
1999-09-10 12:56:26 +04:00
|
|
|
</popup>
|
|
|
|
</popupset>
|
1999-09-09 08:47:21 +04:00
|
|
|
|
1999-09-22 11:20:06 +04:00
|
|
|
<!-- Context menu -->
|
1999-10-01 08:43:45 +04:00
|
|
|
<html:script language="javascript">
|
|
|
|
// Global variable that holds the nsContextMenu instance.
|
|
|
|
var contextMenu = null;
|
|
|
|
</html:script>
|
1999-09-16 08:15:40 +04:00
|
|
|
<popupset>
|
1999-10-09 11:58:24 +04:00
|
|
|
<!-- This is the context menu for the content-area of the navigator
|
|
|
|
window. It contains each and every possible menu choice. The
|
|
|
|
appropriate items are hidden/shown upon display, based on what
|
|
|
|
the user has clicked-on.
|
1999-09-16 08:15:40 +04:00
|
|
|
-->
|
|
|
|
<popup id="context"
|
1999-10-01 08:43:45 +04:00
|
|
|
oncreate="contextMenu = new nsContextMenu( this );"
|
1999-10-09 11:58:24 +04:00
|
|
|
ondestroy="contextMenu.onDestroy(); contextMenu = null;">
|
1999-09-16 08:15:40 +04:00
|
|
|
|
1999-09-18 03:53:20 +04:00
|
|
|
<!-- Open ==================================== -->
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-openlink"
|
1999-09-18 03:53:20 +04:00
|
|
|
value="&openLinkCmd.label;"
|
|
|
|
accesskey=""
|
1999-10-01 08:43:45 +04:00
|
|
|
oncommand="contextMenu.openLink();"/>
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-editlink"
|
1999-09-18 03:53:20 +04:00
|
|
|
value="&editLinkCmd.label;"
|
|
|
|
accesskey=""
|
1999-10-01 08:43:45 +04:00
|
|
|
oncommand="contextMenu.editLink();"/>
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-openframe"
|
1999-09-18 03:53:20 +04:00
|
|
|
value="&openFrameCmd.label;"
|
|
|
|
accesskey=""
|
1999-10-01 08:43:45 +04:00
|
|
|
oncommand="contextMenu.openFrame();"/>
|
1999-09-22 11:20:06 +04:00
|
|
|
<menuseparator id="context-sep-open"/>
|
1999-09-18 03:53:20 +04:00
|
|
|
<!-- Navigation ============================== -->
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-back"
|
1999-09-16 08:15:40 +04:00
|
|
|
value="&goBackCmd.label;"
|
|
|
|
accesskey="&goBackCmd.accesskey;"
|
|
|
|
oncommand="BrowserBack()"/>
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-forward"
|
1999-09-16 08:15:40 +04:00
|
|
|
value="&goForwardCmd.label;"
|
|
|
|
accesskey="&goForwardCmd.accesskey;"
|
|
|
|
oncommand="BrowserForward()"/>
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-reload"
|
1999-09-16 08:15:40 +04:00
|
|
|
value="&reloadCmd.label;"
|
1999-09-18 03:53:20 +04:00
|
|
|
accesskey=""
|
1999-09-16 08:15:40 +04:00
|
|
|
oncommand="BrowserReallyReload(0);"/>
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-stop"
|
1999-09-16 08:15:40 +04:00
|
|
|
value="&stopCmd.label;"
|
1999-09-18 03:53:20 +04:00
|
|
|
accesskey=""
|
1999-09-16 08:15:40 +04:00
|
|
|
oncommand="BrowserStop();"/>
|
|
|
|
<menuseparator/>
|
1999-09-18 03:53:20 +04:00
|
|
|
<!-- View ==================================== -->
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-viewsource"
|
1999-09-18 03:53:20 +04:00
|
|
|
value="&viewPageSourceCmd.label;"
|
|
|
|
accesskey=""
|
1999-09-16 08:15:40 +04:00
|
|
|
oncommand="BrowserViewSource();"/>
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-viewframesource"
|
1999-09-18 03:53:20 +04:00
|
|
|
value="&viewFrameSourceCmd.label;"
|
|
|
|
accesskey=""
|
1999-10-01 08:43:45 +04:00
|
|
|
oncommand="contextMenu.viewFrameSource();"/>
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-viewinfo"
|
1999-09-18 03:53:20 +04:00
|
|
|
value="&viewPageInfoCmd.label;"
|
|
|
|
accesskey=""
|
1999-10-01 08:43:45 +04:00
|
|
|
oncommand="contextMenu.viewInfo();"/>
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-viewframeinfo"
|
1999-09-18 03:53:20 +04:00
|
|
|
value="&viewFrameInfoCmd.label;"
|
|
|
|
accesskey=""
|
1999-10-01 08:43:45 +04:00
|
|
|
oncommand="contextMenu.viewFrameInfo();"/>
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-viewimage"
|
1999-09-18 03:53:20 +04:00
|
|
|
value="&viewImageCmd.label;"
|
|
|
|
accesskey=""
|
1999-10-01 08:43:45 +04:00
|
|
|
oncommand="contextMenu.viewImage();"/>
|
1999-09-18 03:53:20 +04:00
|
|
|
<menuseparator/>
|
|
|
|
<!-- Misc ==================================== -->
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-bookmarkpage"
|
1999-09-18 03:53:20 +04:00
|
|
|
value="&bookmarkPageCmd.label;"
|
|
|
|
accesskey="&bookmarkPageCmd.accesskey;"
|
|
|
|
oncommand="BrowserAddBookmark( window.content.location.href,
|
|
|
|
window.content.document.title )"/>
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-sendpage"
|
1999-09-18 03:53:20 +04:00
|
|
|
value="&sendPageCmd.label;"
|
|
|
|
accesskey="&sendPageCmd.accesskey;"
|
|
|
|
oncommand="BrowserSendPage();"/>
|
|
|
|
<menuseparator/>
|
|
|
|
<!-- Save ==================================== -->
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-savepage"
|
1999-09-18 03:53:20 +04:00
|
|
|
value="&savePageCmd.label;"
|
|
|
|
accesskey="&savePageCmd.accesskey;"
|
1999-10-01 08:43:45 +04:00
|
|
|
oncommand="contextMenu.savePage();"/>
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-saveframe"
|
1999-09-18 03:53:20 +04:00
|
|
|
value="&saveFrameCmd.label;"
|
|
|
|
accesskey="&saveFrameCmd.accesskey;"
|
1999-10-01 08:43:45 +04:00
|
|
|
oncommand="contextMenu.saveFrame();"/>
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-savelink"
|
1999-09-18 03:53:20 +04:00
|
|
|
value="&saveLinkCmd.label;"
|
|
|
|
accesskey="&saveLinkCmd.accesskey;"
|
1999-10-01 08:43:45 +04:00
|
|
|
oncommand="contextMenu.saveLink();"/>
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-saveimage"
|
1999-09-18 03:53:20 +04:00
|
|
|
value="&saveImageCmd.label;"
|
|
|
|
accesskey="&saveImageCmd.accesskey;"
|
1999-10-01 08:43:45 +04:00
|
|
|
oncommand="contextMenu.saveImage();"/>
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-savebgimage"
|
1999-09-18 03:53:20 +04:00
|
|
|
value="&saveBGImageCmd.label;"
|
|
|
|
accesskey="&saveBGImageCmd.accesskey;"
|
1999-10-01 08:43:45 +04:00
|
|
|
oncommand="contextMenu.saveBGImage();"/>
|
1999-09-18 03:53:20 +04:00
|
|
|
<menuseparator/>
|
|
|
|
<!-- Clipboard =============================== -->
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-selectall"
|
1999-09-18 03:53:20 +04:00
|
|
|
value="&selectAllCmd.label;"
|
|
|
|
accesskey="&selectAllCmd.accesskey;"
|
|
|
|
oncommand="BrowserSelectAll();"/>
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-copy"
|
1999-09-18 03:53:20 +04:00
|
|
|
value="©Cmd.label;"
|
|
|
|
accesskey="©Cmd.accesskey;"
|
|
|
|
oncommand="BrowserCopy();"/>
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-copylink"
|
1999-09-18 03:53:20 +04:00
|
|
|
value="©LinkCmd.label;"
|
|
|
|
accesskey="©LinkCmd.accesskey;"
|
1999-10-01 08:43:45 +04:00
|
|
|
oncommand="contextMenu.copyLink();"/>
|
1999-10-09 11:58:24 +04:00
|
|
|
<menuitem id="context-copyimage"
|
1999-09-18 03:53:20 +04:00
|
|
|
value="©ImageCmd.label;"
|
|
|
|
accesskey="©ImageCmd.accesskey;"
|
1999-10-01 08:43:45 +04:00
|
|
|
oncommand="contextMenu.copyImage();"/>
|
1999-09-16 08:15:40 +04:00
|
|
|
</popup>
|
|
|
|
</popupset>
|
|
|
|
|
1999-07-21 03:40:34 +04:00
|
|
|
<html:script language="javascript">
|
|
|
|
var gBookmarkPopup = null;
|
|
|
|
</html:script>
|
|
|
|
|
1999-10-26 04:39:19 +04:00
|
|
|
<!-- Menu -->
|
|
|
|
<menubar id="main-menubar"/>
|
|
|
|
<!-- Toolbox -->
|
|
|
|
<toolbox id="main-toolbox">
|
|
|
|
|
1999-11-02 06:53:30 +03:00
|
|
|
<toolbar id="PersonalToolbar" chromeclass="toolbar" persist="collapsed" dragdroparea="innermostBox"
|
1999-10-26 23:43:32 +04:00
|
|
|
ondraggesture="return BeginDragPersonalToolbar(event);"
|
|
|
|
ondragdrop="return DropPersonalToolbar(event);"
|
|
|
|
ondragover="return DragOverPersonalToolbar(event);">
|
1999-10-26 04:39:19 +04:00
|
|
|
|
1999-10-26 23:43:32 +04:00
|
|
|
<!-- button area of personal toolbar -->
|
|
|
|
<box align="horizontal" flex="1" style="min-width: 1px">
|
1999-11-30 03:56:30 +03:00
|
|
|
|
|
|
|
// I added the container=true on this button as a temp hack until
|
|
|
|
// we can get this button into rdf. We can't allow drags on this
|
|
|
|
// container so we have to be able to identify it (bug 19588).
|
|
|
|
// - pinkerton
|
1999-12-18 07:20:28 +03:00
|
|
|
<menu id="PersonalMenu" datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch" ref="NC:BookmarksRoot">
|
1999-11-30 03:56:30 +03:00
|
|
|
<titledbutton class="bookmarkFolder" align="right" container="true"
|
|
|
|
value="&bookmarksButton.label;" crop="right"/>
|
|
|
|
<template>
|
|
|
|
<!-- Recursive rules for nested folders -->
|
|
|
|
<rule iscontainer="true">
|
|
|
|
<menupopup>
|
|
|
|
<menu uri="rdf:*" crop="right" flex="1" align="left"
|
|
|
|
value="rdf:http://home.netscape.com/NC-rdf#Name" >
|
|
|
|
<menupopup />
|
|
|
|
</menu>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
|
|
|
|
<menupopup>
|
|
|
|
<menuseparator/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
<rule>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem align="left" uri="..."
|
|
|
|
value="rdf:http://home.netscape.com/NC-rdf#Name"
|
1999-12-18 07:20:28 +03:00
|
|
|
oncommand="OpenBookmarkURL(event.target, document.getElementById('PersonalMenu').database)"/>
|
1999-11-30 03:56:30 +03:00
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
<spring class="personaltoolbarspacer" flex="1"/>
|
|
|
|
</menu>
|
|
|
|
|
1999-10-26 23:43:32 +04:00
|
|
|
<box align="horizontal"
|
|
|
|
flex="1"
|
|
|
|
style="min-width: 1px; overflow: hidden"
|
|
|
|
datasources="rdf:bookmarks"
|
1999-11-02 06:53:30 +03:00
|
|
|
ref="NC:PersonalToolbarFolder" id="innermostBox">
|
1999-10-26 23:43:32 +04:00
|
|
|
|
1999-10-26 04:39:19 +04:00
|
|
|
<!-- This template builds content from the bookmarks datasource -->
|
|
|
|
<template>
|
|
|
|
<!-- Rules for content hanging _directly_ off the toolbar -->
|
|
|
|
<rule parent="box" iscontainer="true">
|
|
|
|
<menu uri="...">
|
|
|
|
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name"
|
1999-11-30 03:56:30 +03:00
|
|
|
align="right" class="bookmarkFolder"/>
|
1999-10-26 04:39:19 +04:00
|
|
|
<menupopup/>
|
|
|
|
</menu>
|
1999-10-26 23:43:32 +04:00
|
|
|
<spring uri="rdf:*" class="personaltoolbarspacer" flex="1"/>
|
1999-10-26 04:39:19 +04:00
|
|
|
</rule>
|
|
|
|
<rule parent="box">
|
1999-10-26 23:43:32 +04:00
|
|
|
<titledbutton class="bookmarkbutton" uri="rdf:*" align="left"
|
1999-12-18 07:20:28 +03:00
|
|
|
value="rdf:http://home.netscape.com/NC-rdf#Name" crop="right"
|
|
|
|
oncommand="OpenBookmarkURL(event.target, document.getElementById('innermostBox').database)"/>
|
1999-10-26 23:43:32 +04:00
|
|
|
<spring uri="rdf:*" class="personaltoolbarspacer" flex="1"/>
|
1999-10-26 04:39:19 +04:00
|
|
|
</rule>
|
|
|
|
|
|
|
|
<!-- Recursive rules for nested folders -->
|
|
|
|
<rule iscontainer="true">
|
|
|
|
<menupopup>
|
1999-10-26 23:43:32 +04:00
|
|
|
<menu uri="rdf:*" crop="right" flex="1" align="left"
|
1999-10-26 04:39:19 +04:00
|
|
|
value="rdf:http://home.netscape.com/NC-rdf#Name" >
|
|
|
|
<menupopup />
|
|
|
|
</menu>
|
|
|
|
</menupopup>
|
1999-10-26 23:43:32 +04:00
|
|
|
</rule>
|
|
|
|
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
|
|
|
|
<menupopup>
|
|
|
|
<menuseparator/>
|
|
|
|
</menupopup>
|
1999-10-26 04:39:19 +04:00
|
|
|
</rule>
|
|
|
|
<rule>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem align="left" uri="..."
|
1999-12-18 07:20:28 +03:00
|
|
|
value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
|
|
oncommand="OpenBookmarkURL(event.target, document.getElementById('innermostBox').database)"/>
|
1999-10-26 04:39:19 +04:00
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<titledbutton id="home-button" align="left"
|
|
|
|
value="&homeButton.label;"
|
|
|
|
class="bookmarkbutton"
|
|
|
|
onclick="BrowserHome(); event.preventBubble();"/>
|
|
|
|
<spring class="personaltoolbarspacer" flex="1"/>
|
|
|
|
|
|
|
|
</box>
|
|
|
|
<spring flex="9999999"/>
|
|
|
|
</box>
|
|
|
|
|
|
|
|
<!-- throbber area of personal toolbar -->
|
|
|
|
<box id="personaltoolbar-endcap" align="vertical" width="68px"/>
|
|
|
|
</toolbar>
|
1999-09-18 03:37:41 +04:00
|
|
|
|
1999-09-29 08:29:20 +04:00
|
|
|
<toolbar id="nav-bar" class="main-bar" chromeclass="toolbar" persist="collapsed">
|
1999-10-26 04:39:19 +04:00
|
|
|
<box align="horizontal" flex="100%" style="overflow: hidden">
|
|
|
|
<titledbutton id="back-button" class="button32" crop="right" align="top" observes="canGoBack" />
|
1999-09-18 03:37:41 +04:00
|
|
|
|
1999-10-26 04:39:19 +04:00
|
|
|
<titledbutton id="forward-button" class="button32" crop="right" align="top" observes="canGoForward" />
|
1999-09-18 03:37:41 +04:00
|
|
|
|
1999-10-26 04:39:19 +04:00
|
|
|
<!-- Right now only regular reload is supported. When the
|
|
|
|
functionality is available, look for 'Shift' key pressed state
|
|
|
|
and pass on appropriate reload type. (The shift functionality
|
|
|
|
is available. There's a shiftDown field in the event object.)
|
|
|
|
-->
|
|
|
|
<titledbutton id="reload-button" class="button32" crop="right" align="top" observes="canReload"/>
|
1999-09-25 06:53:55 +04:00
|
|
|
|
1999-10-27 04:17:16 +04:00
|
|
|
<titledbutton id="stop-button" class="button32" crop="right" align="top" onclick="BrowserStop()">
|
|
|
|
<observes element="canStop" attribute="disabled"
|
|
|
|
onbroadcast="BrowserCanStop()"/>
|
|
|
|
</titledbutton>
|
|
|
|
|
1999-10-26 04:39:19 +04:00
|
|
|
<!-- changed : the url field is now grouped with search -->
|
|
|
|
<box align="vertical" flex="100%">
|
|
|
|
<spring style="height: 4px;"/>
|
|
|
|
<!-- used for vertically positioning the url field contraption w/i the nav toolbar -->
|
|
|
|
|
|
|
|
<box id="url-bar-box" align="horizontal" style="width: 100%;">
|
|
|
|
|
|
|
|
<!-- this is the little page proxy icon -->
|
|
|
|
<!-- display should be turned off right now until functionality is implemented -->
|
1999-11-14 02:28:51 +03:00
|
|
|
<titledbutton id="page-proxy-button" ondraggesture="DragProxyIcon(event);"/>
|
1999-10-26 04:39:19 +04:00
|
|
|
|
|
|
|
<!-- this is the urlbar -->
|
|
|
|
<html:input id="urlbar" type="text" chromeclass="location"
|
|
|
|
onkeyup="if (event.which == 13) { BrowserLoadURL(); }"
|
|
|
|
flex = "100%" />
|
|
|
|
|
|
|
|
<!-- this is the urlbar session history popup -->
|
|
|
|
<!-- display should be turned off right now until functionality is implemented -->
|
|
|
|
<titledbutton id="sessionhist-popup"/>
|
|
|
|
|
|
|
|
<!-- this is the search/go button -->
|
|
|
|
<titledbutton id="search-button" value="&searchButton.label;"
|
1999-12-31 02:39:08 +03:00
|
|
|
onclick="OpenSearch('internet',false, document.getElementById('urlbar').value);"
|
1999-10-26 04:39:19 +04:00
|
|
|
/>
|
|
|
|
|
|
|
|
<!-- this is for other functionality -->
|
|
|
|
<titledbutton id="action-popup" align="right"/>
|
|
|
|
|
|
|
|
<!-- end url bar box -->
|
|
|
|
</box>
|
|
|
|
|
|
|
|
<!-- used for vertically positioning the url field contraption w/i the nav toolbar -->
|
|
|
|
</box>
|
|
|
|
|
|
|
|
<!-- FIX ME - remove this
|
|
|
|
<box align="vertical" flex="9999999">
|
|
|
|
<spring flex="1"/>
|
|
|
|
<html:input id="urlbar" type="text" chromeclass="location"
|
|
|
|
onkeyup="if (event.which == 13) { BrowserLoadURL(); }"/>
|
|
|
|
<spring flex="1"/>
|
|
|
|
</box>
|
1999-09-25 06:53:55 +04:00
|
|
|
|
1999-10-26 04:39:19 +04:00
|
|
|
<titledbutton id="search-button" crop="right" flex="1" align="top"
|
|
|
|
value="&searchButton.label;"
|
1999-12-31 02:39:08 +03:00
|
|
|
onclick="OpenSearch('internet', false, document.getElementById('urlbar').value);"/>
|
1999-09-18 03:37:41 +04:00
|
|
|
|
1999-10-26 04:39:19 +04:00
|
|
|
<titledbutton id="print-button" crop="right" flex="1" align="top"
|
|
|
|
value="&printButton.label;" onclick="BrowserPrint()">
|
|
|
|
<observes element="canPrint" attribute="disabled"/>
|
|
|
|
</titledbutton>
|
|
|
|
-->
|
|
|
|
</box>
|
1999-09-18 03:37:41 +04:00
|
|
|
|
1999-10-26 04:39:19 +04:00
|
|
|
<!-- throbber area of navigation toolbar -->
|
|
|
|
<box id="toolbar_throbber_box" align="vertical">
|
|
|
|
<titledbutton id="Throbber" onclick="window.content.location.href='&throbber.url;'">
|
|
|
|
<observes element="Browser:Throbber" attribute="busy"/>
|
|
|
|
</titledbutton>
|
|
|
|
</box>
|
1999-09-25 06:53:55 +04:00
|
|
|
</toolbar>
|
1999-10-26 04:39:19 +04:00
|
|
|
|
1999-09-25 06:53:55 +04:00
|
|
|
</toolbox>
|
|
|
|
|
|
|
|
<!-- sidebar/toolbar/content/status -->
|
1999-11-30 03:56:30 +03:00
|
|
|
<box align="horizontal" flex="100%">
|
1999-09-25 06:53:55 +04:00
|
|
|
<!-- toolbar/content/status -->
|
1999-07-02 02:56:04 +04:00
|
|
|
|
1999-09-30 00:19:53 +04:00
|
|
|
<box id="sidebar-box" chromeclass="extrachrome"/>
|
|
|
|
<splitter id="sidebar-splitter" chromeclass="extrachrome" />
|
1999-09-25 06:53:55 +04:00
|
|
|
|
1999-11-12 06:41:27 +03:00
|
|
|
<box id="appcontent" align="vertical" flex="100%"
|
|
|
|
ondragover="return DragOverContentArea(event);"
|
|
|
|
ondragdrop="return DropOnContentArea(event);">
|
1999-10-26 04:39:19 +04:00
|
|
|
|
1999-09-18 03:37:41 +04:00
|
|
|
<!-- type attribute is used by frame construction to locate iframes
|
|
|
|
intended to hold (html) content -->
|
|
|
|
<!-- id's use is a mystery -->
|
1999-09-22 02:03:56 +04:00
|
|
|
<box context="context" flex="100%">
|
1999-10-14 15:00:21 +04:00
|
|
|
<browser type="content-primary" id="content" src="about:blank" flex="100%"/>
|
1999-09-22 02:03:56 +04:00
|
|
|
</box>
|
1999-10-26 04:39:19 +04:00
|
|
|
<box id="status-bar" chromeclass="status">
|
|
|
|
<box id="state-box" align="horizontal" flex="100%" style="min-width: 1px">
|
1999-09-15 03:09:15 +04:00
|
|
|
<box align="vertical" style="width:100px">
|
|
|
|
<spring flex="100%"/>
|
1999-09-18 03:37:41 +04:00
|
|
|
<progressmeter id="statusbar-icon" mode="normal"
|
|
|
|
align="horizontal" value="0" onclick="dumpProgress()">
|
|
|
|
<observes element="Browser:LoadingProgress" attribute="mode"/>
|
|
|
|
<observes element="Browser:Throbber" attribute="busy"
|
1999-09-22 03:02:35 +04:00
|
|
|
onbroadcast="onProgress()"/>
|
1999-09-18 03:37:41 +04:00
|
|
|
</progressmeter>
|
|
|
|
<spring flex="100%"/>
|
1999-09-15 03:09:15 +04:00
|
|
|
</box>
|
1999-10-26 04:39:19 +04:00
|
|
|
<spring style="width: 1em"/>
|
1999-10-28 03:01:09 +04:00
|
|
|
<titledbutton id="statusText" class="status-bar" align="left" flex="100%"
|
1999-10-26 04:39:19 +04:00
|
|
|
value="&statusText.label;" style="min-width: 1px">
|
1999-09-18 03:37:41 +04:00
|
|
|
<observes element="Browser:Status" attribute="value"
|
1999-09-22 03:02:35 +04:00
|
|
|
onbroadcast="onStatus()"/>
|
1999-09-18 03:37:41 +04:00
|
|
|
</titledbutton>
|
|
|
|
|
1999-10-28 03:01:09 +04:00
|
|
|
<titledbutton class="status-bar" align="left" value="&buildId.label;"/>
|
1999-11-23 04:52:36 +03:00
|
|
|
<titledbutton id="lock-button" class="borderless" align="left"/>
|
|
|
|
|
1999-09-18 03:37:41 +04:00
|
|
|
</box>
|
|
|
|
</box><!-- status -->
|
|
|
|
</box><!-- toolbar/content/status -->
|
|
|
|
</box><!-- sidebar and tools/content/status -->
|
1999-10-26 04:39:19 +04:00
|
|
|
<toolbar id="taskbar" chromeclass="extrachrome" />
|
1999-07-27 06:57:36 +04:00
|
|
|
|
1999-07-02 02:56:04 +04:00
|
|
|
</window>
|