1999-10-18 19:21:52 +00:00
|
|
|
<?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil -*- -->
|
1999-10-29 19:13:42 +00:00
|
|
|
<!--
|
1999-09-14 23:09:28 +00:00
|
|
|
|
1999-10-29 19:13:42 +00:00
|
|
|
The contents of this file are subject to the Netscape Public License
|
|
|
|
Version 1.1 (the "NPL"); you may not use this file except in
|
|
|
|
compliance with the NPL. You may obtain a copy of the NPL at
|
|
|
|
http://www.mozilla.org/NPL/
|
|
|
|
|
|
|
|
Software distributed under the NPL is distributed on an "AS IS" basis,
|
|
|
|
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
|
|
|
for the specific language governing rights and limitations under the
|
|
|
|
NPL.
|
|
|
|
|
|
|
|
The Initial Developer of this code under the NPL is Netscape
|
|
|
|
Communications Corporation. Portions created by Netscape are
|
|
|
|
Copyright (C) 1999 Netscape Communications Corporation. All Rights
|
|
|
|
Reserved.
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
2006-07-27 14:49:41 +00:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/sidebar/sidebarOverlay.css" type="text/css"?>
|
1999-10-26 00:39:19 +00:00
|
|
|
|
2006-07-27 14:49:41 +00:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/sidebar/sidebarOverlay.dtd">
|
1999-09-14 23:09:28 +00:00
|
|
|
|
|
|
|
<overlay id="sidebarOverlay"
|
|
|
|
xmlns:html="http://www.w3.org/TR/REC-html40"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
|
1999-09-29 20:23:33 +00:00
|
|
|
<!-- Overlay the sidebar panels -->
|
2006-07-27 14:47:52 +00:00
|
|
|
<box id="sidebar-box" align="vertical"
|
2006-07-27 14:48:08 +00:00
|
|
|
persist="hidden width collapsed">
|
2006-07-27 14:49:47 +00:00
|
|
|
<sidebarheader id="sidebar-title-box" class="sidebar-main-header"
|
|
|
|
value="&sidebar.panels.label;" persist="hidden state"
|
|
|
|
collapse="after" onmouseup="PersistHeight();">
|
|
|
|
<menu id="sidebar-panel-picker" class="standard" crop="right"
|
|
|
|
oncreate="SidebarBuildPickerPopup();"
|
2006-07-27 14:49:43 +00:00
|
|
|
value="&sidebar.picker.label;" >
|
2006-07-27 14:49:47 +00:00
|
|
|
<menupopup id="sidebar-panel-picker-popup" popupanchor="topright"
|
2006-07-27 14:49:43 +00:00
|
|
|
datasources="rdf:null"
|
|
|
|
ref="urn:sidebar:current-panel-list">
|
|
|
|
<template>
|
|
|
|
<rule>
|
2006-07-27 14:49:46 +00:00
|
|
|
<menuitem uri="rdf:*" type="checkbox"
|
2006-07-27 14:49:43 +00:00
|
|
|
oncommand="SidebarTogglePanel(event.target);"
|
|
|
|
value="rdf:http://home.netscape.com/NC-rdf#title"
|
|
|
|
exclude="rdf:http://home.netscape.com/NC-rdf#exclude"/>
|
|
|
|
</rule>
|
|
|
|
</template>
|
2006-07-27 14:49:46 +00:00
|
|
|
<menuitem value="&sidebar.customize.label;"
|
2006-07-27 14:49:43 +00:00
|
|
|
oncommand="SidebarCustomize();" />
|
2006-07-27 14:49:46 +00:00
|
|
|
<menuseparator />
|
2006-07-27 14:49:43 +00:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
</sidebarheader>
|
|
|
|
|
2006-07-27 14:48:11 +00:00
|
|
|
<box id="sidebar-panels" align="vertical"
|
|
|
|
datasources="rdf:null"
|
|
|
|
ref="urn:sidebar:current-panel-list"
|
2006-07-27 14:49:47 +00:00
|
|
|
persist='last-selected-panel height collapsed hidden' flex="1*">
|
|
|
|
<template id="sidebar-template">
|
2006-07-27 14:48:11 +00:00
|
|
|
<rule>
|
2006-07-27 14:49:47 +00:00
|
|
|
<box uri="rdf:*" class="texttab sidebar-tab" align="left"
|
2006-07-27 14:48:11 +00:00
|
|
|
value="rdf:http://home.netscape.com/NC-rdf#title"
|
|
|
|
onclick="SidebarSelectPanel(this)"
|
|
|
|
exclude="rdf:http://home.netscape.com/NC-rdf#exclude"
|
|
|
|
hidden="true"/>
|
2006-07-27 14:49:47 +00:00
|
|
|
<box uri="rdf:*" flex='1*' hidden="true" orient="vertical">
|
2006-07-27 14:49:55 +00:00
|
|
|
<box flex='1' orient="vertical">
|
|
|
|
<box orient="horizontal" flex="1" autostretch="never">
|
|
|
|
<image class="loading-image"/>
|
|
|
|
<text class="loading-image" value="&sidebar.loading.label;"/>
|
|
|
|
</box>
|
|
|
|
<spring flex="100%"/>
|
2006-07-27 14:49:47 +00:00
|
|
|
</box>
|
|
|
|
<iframe class="panel-frame" flex='1*'
|
|
|
|
hidden="true" collapsed="true"
|
2006-07-27 14:48:11 +00:00
|
|
|
src="rdf:http://home.netscape.com/NC-rdf#content" />
|
2006-07-27 14:49:47 +00:00
|
|
|
<iframe class="panel-frame" flex='1*'
|
|
|
|
hidden="true" collapsed="true"
|
2006-07-27 14:48:11 +00:00
|
|
|
src="rdf:http://home.netscape.com/NC-rdf#content"
|
|
|
|
type="content" />
|
|
|
|
</box>
|
|
|
|
</rule>
|
|
|
|
</template>
|
1999-09-29 20:23:33 +00:00
|
|
|
</box>
|
1999-09-14 23:09:28 +00:00
|
|
|
</box>
|
|
|
|
|
1999-10-26 00:39:19 +00:00
|
|
|
<!-- Splitter on the right of sidebar -->
|
2006-07-27 14:49:47 +00:00
|
|
|
<splitter id="sidebar-splitter" collapse="before" persist="state hidden"
|
|
|
|
class="chromeclass-extrachrome sidebar-splitter">
|
2006-07-27 14:47:50 +00:00
|
|
|
onmouseup="SidebarFinishDrag();">
|
2006-07-27 14:49:47 +00:00
|
|
|
<box id="sidebar-topright-cap" align="vertical">
|
1999-10-26 00:39:19 +00:00
|
|
|
<spring flex="100%"/>
|
|
|
|
</box>
|
|
|
|
<spring flex="100%"/>
|
2006-07-27 14:47:50 +00:00
|
|
|
<grippy onclick="SidebarExpandCollapse();"/>
|
1999-10-26 00:39:19 +00:00
|
|
|
<spring flex="100%"/>
|
2006-07-27 14:49:47 +00:00
|
|
|
<box id="sidebar-bottomright-cap" align="vertical">
|
1999-10-26 00:39:19 +00:00
|
|
|
<spring flex="100%"/>
|
|
|
|
</box>
|
|
|
|
</splitter>
|
1999-10-26 05:46:00 +00:00
|
|
|
|
1999-11-24 04:10:18 +00:00
|
|
|
<!-- View->Sidebar toggle -->
|
|
|
|
<menupopup id="menu_View_Popup">
|
2006-07-27 14:49:47 +00:00
|
|
|
<menuitem id="sidebar-menu" type="checkbox" value="&sidebarCmd.label;"
|
|
|
|
oncommand="SidebarShowHide();" position="2"/>
|
1999-11-24 04:10:18 +00:00
|
|
|
</menupopup>
|
|
|
|
|
2006-07-27 14:49:47 +00:00
|
|
|
<!-- open/close grippy for status (not yet)
|
|
|
|
<box id="status-bar">
|
|
|
|
<image id="sidebar-status-grippy" position="1"/>
|
|
|
|
</box>
|
|
|
|
-->
|
|
|
|
|
1999-10-26 05:46:00 +00:00
|
|
|
<!-- Scripts go last, because they peek at state to tweak menus -->
|
|
|
|
<html:script language="JavaScript"
|
2006-07-27 14:49:47 +00:00
|
|
|
src="chrome://communicator/content/sidebar/sidebarOverlay.js"/>
|
1999-10-26 05:46:00 +00:00
|
|
|
|
1999-09-14 23:09:28 +00:00
|
|
|
</overlay>
|
1999-10-26 05:46:00 +00:00
|
|
|
|