Files
Mozilla/mozilla/xpfe/components/search/resources/search.xul
rjc%netscape.com 8bfca60659 Fix bug # 23262: if the internet search window is currently open, give it focus (and select new tab if necessary).
git-svn-id: svn://10.0.0.236/trunk@57096 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 09:56:20 +00:00

48 lines
1.8 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://search/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://search/locale/search.dtd">
<window id="search-window" title="&window.title.label;"
class="dialog" windowtype="search:window"
width="500" height="400" x="20" y="20" persist="width height x y" align="vertical"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="loadPage(window.arguments[0], window.arguments[1])" onunload="doUnload()" >
<menubar>
<menu value="&menu.file.label;">
<menupopup>
<menuitem value="&menuitem.close.label;" oncommand="window.close()" />
</menupopup>
</menu>
<menu value="&menu.edit.label;">
<menupopup>
<menuitem value="x&menuitem.undo.label;"/>
<menuseparator/>
<menuitem value="x&menuitem.cut.label;"/>
<menuitem value="x&menuitem.copy.label;"/>
<menuitem value="x&menuitem.paste.label;"/>
</menupopup>
</menu>
</menubar>
<html:script src="chrome://search/content/search.js" />
<tabcontrol align="vertical">
<tabbox align="horizontal">
<tab id="findTab" onclick="loadPage('find', null);">&find.title.label;</tab>
<tab id="internetTab" onclick="loadPage('internet', null);">&internet.title.label;</tab>
<tab id="mailnewsTab" onclick="loadPage('mail', null);">&mailnews.title.label;</tab>
<tab id="addressbookTab" onclick="loadPage('addressbook', null);">&addressbook.title.label;</tab>
<spring flex="1"/>
</tabbox>
<tabpanel />
</tabcontrol>
<html:iframe src="about:blank" height="150" width="100%" style="height: 150; width: 100%;" id="content" />
<html:iframe src="about:blank" height="100%" width="100%" style="height: 100%; width: 100%;" flex="100%" id="results" />
</window>