diff options
author | alecpl <alec@alec.pl> | 2008-09-20 08:32:00 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-09-20 08:32:00 +0000 |
commit | a1f7220e9f23ea81b5b626d20f25039724b3413e (patch) | |
tree | 011d0ec75f2674be368a18f97a7c3c363c8d36e9 /skins/default/templates/message.html | |
parent | fc1a10b4d5f0128297e2475d09132187da7d08a8 (diff) |
- prevent splitters "jumps" when page is loading (set style reading cookie in skin template, using new 'expression' feature)
Diffstat (limited to 'skins/default/templates/message.html')
-rw-r--r-- | skins/default/templates/message.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/skins/default/templates/message.html b/skins/default/templates/message.html index 3ab6cf30f..0cbd05fe6 100644 --- a/skins/default/templates/message.html +++ b/skins/default/templates/message.html @@ -5,6 +5,13 @@ <roundcube:include file="/includes/links.html" /> <link rel="stylesheet" type="text/css" href="/mail.css" /> <script type="text/javascript" src="/splitter.js"></script> +<style type="text/css"> +#mailboxlist-container { width: <roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv-5 : 160" />px; } +#messageframe { + left: <roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv+5 : 170" />px; + width: expression((parseInt(this.parentNode.offsetWidth)-<roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv+5 : 170" />)+'px'); +} +</style> </head> <body> |