зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
29a84f6112
Коммит
2f2e229d4f
|
@ -1,7 +1,6 @@
|
||||||
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Mozilla Browser</title>
|
<title>Mozilla Mail Client</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#C0C0C0">
|
<body bgcolor="#C0C0C0">
|
||||||
|
@ -18,14 +17,91 @@ BODY,TD,INPUT {
|
||||||
}
|
}
|
||||||
BODY {
|
BODY {
|
||||||
margin: 0px 0px 0px 0px;
|
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>
|
</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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ function OpenURL(url)
|
||||||
<xul:command name="nsCmd:ForwardMessage" onCommand="window.forwardmessage();"/>
|
<xul:command name="nsCmd:ForwardMessage" onCommand="window.forwardmessage();"/>
|
||||||
<xul:command name="nsCmd:DeleteMessage" onCommand="window.deletemessage();"/>
|
<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: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:LoadURL3" onCommand="OpenURL();"/>
|
||||||
<xul:command name="nsCmd:LoadURL4" onCommand="OpenURL();"/>
|
<xul:command name="nsCmd:LoadURL4" onCommand="OpenURL();"/>
|
||||||
</xul:commands>
|
</xul:commands>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче