Rebuild our 3-pane UI using iframes..the old code was using HTML frames which caused only one nsIWebShell for the whole mail frame....

This commit is contained in:
mscott%netscape.com 1999-02-18 03:52:40 +00:00
Родитель 2f0ca98b89
Коммит 4ddbab89cf
2 изменённых файлов: 82 добавлений и 6 удалений

Просмотреть файл

@ -1,7 +1,6 @@
<html>
<head>
<title>Mozilla Browser</title>
<title>Mozilla Mail Client</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#C0C0C0">
@ -19,13 +18,90 @@ BODY,TD,INPUT {
BODY {
margin: 0px 0px 0px 0px;
}
#toolbar {
position: fixed;
width: 100%;
height: 80px;
top: 0;
right: 0;
bottom: auto;
left: 0;
background-color: #cccccc;
}
#folder {
position: fixed;
width: 10em;
height: auto;
top: 80px;
right: auto;
bottom: 34px;
left: 0;
font-style: italic;
background-color: #ffffff;
}
#message {
position: fixed;
width: auto;
height: auto;
top: 200px;
right: 0;
bottom: 34px;
left: 10em;
overflow: auto;
padding: 2px .5em;
border: solid 1px black;
background-color: #ffffff;
}
#thread {
position: fixed;
width: auto;
height: 120px;
top: 80px;
right: 0;
bottom: auto;
left: 10em;
overflow: auto;
padding: 2px .5em;
border: solid 1px white
background-color: #cccccc;
}
#footer {
position: fixed;
width: 100%;
height: 34px;
top: auto;
right: 0;
bottom: 0;
left: 0;
text-align: center;
margin-top: auto;
background-color: #cccccc;
}
</style>
<iframe src="msgbar.xml" name="browser.toolbar" width="100%" height="56" >
</style>
<iframe src="frames.html" name="browser.webwindow" width="100%" height="500" >
<DIV id="toolbar">
<iframe src="msgbar.xml" name="browser.toolbar" width="100%" height="56" > </iframe>
</DIV>
<iframe src="status.html" name="browser.status" width="100%" height="34" >
<DIV id="thread">
<iframe src="thread.xml" name="browser.foo" width="100%" height="99%" > </iframe>
</DIV>
<DIV id="message">
<iframe src="message.html" name="browser.webwindow" width="100%" height="100%" > </iframe>
</DIV>
<DIV id="folder">
<iframe src="sidebar.xul" name="browser.sidebar" width="100%" height="100%"></iframe>
</DIV>
<DIV id="footer">
<iframe src="status.html" name="browser.status" width="100%" height="34" > </iframe>
</DIV>
</body>
</html>

Просмотреть файл

@ -44,7 +44,7 @@ function OpenURL(url)
<xul:command name="nsCmd:ForwardMessage" onCommand="window.forwardmessage();"/>
<xul:command name="nsCmd:DeleteMessage" onCommand="window.deletemessage();"/>
<xul:command name="nsCmd:LoadURL1" onCommand="OpenURL('news://news.mcom.com:119/35BE6AB1.55A14AE4@netscape.com');"/>
<xul:command name="nsCmd:LoadURL2" onCommand="OpenURL();"/>
<xul:command name="nsCmd:LoadURL2" onCommand="OpenURL('news://news.mozilla.org:119/36BC8178.5BE93104@netscape.com');"/>
<xul:command name="nsCmd:LoadURL3" onCommand="OpenURL();"/>
<xul:command name="nsCmd:LoadURL4" onCommand="OpenURL();"/>
</xul:commands>