|
|
|
@ -8,12 +8,12 @@
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
<roundcube:if condition="config:preview_pane == true" />
|
|
|
|
|
#mailcontframe { height: <roundcube:exp expression="!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter-5 : 195" />px; }
|
|
|
|
|
#mailpreviewframe { top: <roundcube:exp expression="!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter+5 : 225" />px;
|
|
|
|
|
#mailpreviewframe { top: <roundcube:exp expression="!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter+5 : 205" />px;
|
|
|
|
|
<roundcube:exp expression="browser:ie ? ('height: expression((parseInt(this.parentNode.offsetHeight)-'.(!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter+25 : 245).')+\\'px\\');') : ''" />
|
|
|
|
|
}
|
|
|
|
|
<roundcube:endif />
|
|
|
|
|
#mailleftcontainer { width: <roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv-5 : 170" />px; }
|
|
|
|
|
#mailrightcontainer { left: <roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv+5 : 180" />px;
|
|
|
|
|
#mailleftcontainer { width: <roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv-5 : 175" />px; }
|
|
|
|
|
#mailrightcontainer { left: <roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv+5 : 185" />px;
|
|
|
|
|
<roundcube:exp expression="browser:ie ? ('width: expression((parseInt(this.parentNode.offsetWidth)-'.(!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv+5 : 180).')+\\'px\\');') : ''" />
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
@ -64,7 +64,7 @@
|
|
|
|
|
<roundcube:if condition="config:preview_pane == true" />
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
var mailviewsplit = new rcube_splitter({id:'mailviewsplitter', p1: 'mailcontframe', p2: 'mailpreviewframe', orientation: 'h', relative: true, start: 200});
|
|
|
|
|
var mailviewsplit = new rcube_splitter({id:'mailviewsplitter', p1: 'mailcontframe', p2: 'mailpreviewframe', orientation: 'h', relative: true, start: 205});
|
|
|
|
|
rcmail.add_onload('mailviewsplit.init()');
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|