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.
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
1999-10-26 00:39:19 +00:00
|
|
|
<?xml-stylesheet href="chrome://sidebar/skin/sidebarOverlay.css" type="text/css"?>
|
|
|
|
|
1999-09-14 23:09:28 +00:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://sidebar/locale/sidebarOverlay.dtd">
|
|
|
|
|
|
|
|
<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:47:50 +00:00
|
|
|
persist="hidden width hackforbug20546">
|
1999-10-26 00:39:19 +00:00
|
|
|
<splitter id="title-box" class="sidebar-main-header" collapse="after"
|
2006-07-27 14:47:57 +00:00
|
|
|
persist="state" onmouseup="PersistHeight();">
|
1999-09-29 20:23:33 +00:00
|
|
|
<html:div class="panel-bar">
|
|
|
|
&sidebar.panels.label;
|
|
|
|
</html:div>
|
1999-09-17 23:38:26 +00:00
|
|
|
<spring flex="100%"/>
|
|
|
|
<titledbutton class="borderless"
|
|
|
|
value="&sidebar.customize.label;"
|
2006-07-27 14:47:57 +00:00
|
|
|
onclick="SidebarCustomize();"/>
|
2006-07-27 14:47:39 +00:00
|
|
|
</splitter>
|
2006-07-27 14:47:57 +00:00
|
|
|
<box id="sidebar-panels-box" align="vertical" flex="1*" persist="height">
|
2006-07-27 14:47:39 +00:00
|
|
|
<box id="sidebar-panels" align="vertical"
|
2006-07-27 14:47:53 +00:00
|
|
|
datasources="chrome://sidebar/content/local-panels.rdf chrome://sidebar/content/remote-panels.rdf"
|
2006-07-27 14:47:39 +00:00
|
|
|
ref="urn:sidebar:current-panel-list"
|
|
|
|
persist='open-panel-src'>
|
|
|
|
<template>
|
|
|
|
<rule>
|
2006-07-27 14:48:07 +00:00
|
|
|
<box uri="rdf:*" class="texttab" align="left"
|
2006-07-27 14:47:39 +00:00
|
|
|
value="rdf:http://home.netscape.com/NC-rdf#title"
|
|
|
|
onclick="SidebarSelectPanel(this)"
|
2006-07-27 14:47:57 +00:00
|
|
|
hidden="true"
|
|
|
|
exclude="rdf:http://home.netscape.com/NC-rdf#exclude"
|
2006-07-27 14:47:39 +00:00
|
|
|
iframe-src="rdf:http://home.netscape.com/NC-rdf#content" />
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
</box>
|
2006-07-27 14:48:00 +00:00
|
|
|
<html:iframe id="sidebar-content" type="xxx-content" src="about:blank"
|
|
|
|
name="sidebar-content" class="panel-frame" flex='1*'/>
|
2006-07-27 14:47:53 +00:00
|
|
|
<box id="sidebar-panels-bottom" align="vertical"
|
|
|
|
datasources="chrome://sidebar/content/local-panels.rdf chrome://sidebar/content/remote-panels.rdf">
|
|
|
|
<template>
|
|
|
|
<rule>
|
2006-07-27 14:48:07 +00:00
|
|
|
<box uri="rdf:*" class="texttab" align="left"
|
2006-07-27 14:47:53 +00:00
|
|
|
value="rdf:http://home.netscape.com/NC-rdf#title"
|
|
|
|
onclick="SidebarSelectPanel(this)"
|
2006-07-27 14:47:57 +00:00
|
|
|
hidden="true"
|
|
|
|
exclude="rdf:http://home.netscape.com/NC-rdf#content"
|
2006-07-27 14:47:53 +00:00
|
|
|
iframe-src="rdf:http://home.netscape.com/NC-rdf#content" />
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
</box>
|
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 -->
|
1999-09-29 20:23:33 +00:00
|
|
|
<splitter id="sidebar-splitter" collapse="before" persist="state hidden"
|
2006-07-27 14:47:50 +00:00
|
|
|
chromeclass="extrachrome"
|
|
|
|
onmouseup="SidebarFinishDrag();">
|
1999-10-26 00:39:19 +00:00
|
|
|
<box id="topright-cap" align="vertical">
|
|
|
|
<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%"/>
|
|
|
|
<box id="bottomright-cap" align="vertical">
|
|
|
|
<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">
|
|
|
|
<menuitem id="menu_sidebar" type="checkbox" value="&sidebarCmd.label;"
|
2006-07-27 14:47:38 +00:00
|
|
|
oncommand="SidebarShowHide();" position="2"/>
|
1999-11-24 04:10:18 +00:00
|
|
|
</menupopup>
|
|
|
|
|
1999-10-26 05:46:00 +00:00
|
|
|
<!-- Scripts go last, because they peek at state to tweak menus -->
|
|
|
|
<html:script language="JavaScript"
|
|
|
|
src="chrome://sidebar/content/sidebarOverlay.js"/>
|
|
|
|
|
1999-09-14 23:09:28 +00:00
|
|
|
</overlay>
|
1999-10-26 05:46:00 +00:00
|
|
|
|