You're guys a good webmasters. I'm working on messages list menu and got a few problems. I've prepared it in two versions, vertical and horizontal:
http://194.150.197.210/rc-dev/listmenu.html http://194.150.197.210/rc-dev/listmenu-v.html
becomes visible on mouse over. 3. If horizontal variant is better, how to make the height of all
<fieldset>'s to be the same (of course not in pixels, height:150px is working, but something like 100% of the menu div would be better)? 4. Not tested with IE.
On Mon, 30 Nov 2009 15:40:10 +0100, "A.L.E.C" alec@alec.pl wrote:
You're guys a good webmasters. I'm working on messages list menu and got
a few problems. I've prepared it in two versions, vertical and
horizontal:
http://194.150.197.210/rc-dev/listmenu.html http://194.150.197.210/rc-dev/listmenu-v.html
- I'm not sure which is better (vertical one is maybe too high?)
I like vertical. It's quite high but looks less complicated.
- Save button in FF3 (3.0.15) hasn't got left,right,bottom border. It
becomes visible on mouse over.
It works on 3.5. I don't have FF 3.0 here to try it out.
- If horizontal variant is better, how to make the height of all
<fieldset>'s to be the same (of course not in pixels, height:150px is working, but something like 100% of the menu div would be better)?
You could to that with a display:table-cell and a height:100% but IE won't like it.
I'm not actually aware of a solution that would work for IE (other than a table).
- Not tested with IE.
It looks all right on IE6 but you would need some margins on the fieldsets.
List info: http://lists.roundcube.net/dev/
On Mon, Nov 30, 2009 at 3:40 PM, A.L.E.C alec@alec.pl wrote:
You're guys a good webmasters. I'm working on messages list menu and got a few problems. I've prepared it in two versions, vertical and horizontal:
http://194.150.197.210/rc-dev/listmenu.html http://194.150.197.210/rc-dev/listmenu-v.html
- I'm not sure which is better (vertical one is maybe too high?)
- Save button in FF3 (3.0.15) hasn't got left,right,bottom border. It
becomes visible on mouse over. 3. If horizontal variant is better, how to make the height of all
<fieldset>'s to be the same (of course not in pixels, height:150px is working, but something like 100% of the menu div would be better)? 4. Not tested with IE.
-- Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252 LAN Management System Developer http://lms.org.pl Roundcube Webmail Project Developer http://roundcube.net _______________________________________________ List info: http://lists.roundcube.net/dev/
On Mon, 30 Nov 2009 16:14:47 +0100, Eelko Berkenpies kaboon@gmail.com wrote:
- Something like this: http://berkenpies.nl/rc-mail.html ?
I don't think that's the right idea: it doesn't seem to work if you put more elements in any column. You're basically just asking for every column to be at least 190px high. _______________________________________________ List info: http://lists.roundcube.net/dev/
On Mon, Nov 30, 2009 at 8:28 AM, Jean-Baptiste Hétier me@djib.fr wrote:
I don't think that's the right idea: it doesn't seem to work if you put more elements in any column. You're basically just asking for every column to be at least 190px high.
I agree, it is best not to set a pre-defined fixed height for these floating "columns".
However, using two of the three CSS attributes provided by Eelko Berkenpies, the following JQuery snipit applies the height/min-height dynamically:
<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
<script type="text/javascript"> //<![CDATA[ $(document).ready(function($) { var maxheight=0; $('#listmenu fieldset').each(function() { if ($(this).height() > maxheight) { maxheight = $(this).height(); } }); $('#listmenu fieldset').css("min-height",maxheight+"px"); $('#listmenu fieldset').height(maxheight); }); //]]> </script>
On my demo page, I added javascript, the title element for XHTML validation, and two additional CSS properties to the fieldset. I tested this page in IE6, FF3.0, FF3.5, Safari4, Opera9.6, Chrome3, and they looked nearly identical.
Demo: http://nullchar.net/rc20091130/listmenu.html
A problem with this method is text-zooming. JQuery does not update the fixed height columns after zoom (without some additional work). If the user reloads the page after zoom, it will be fine. Or if the user zooms before reaching that menu page, it will be fine.
-gnul _______________________________________________ List info: http://lists.roundcube.net/dev/
gnul wrote:
Thx, for now I've implemented it in this way.
Another css issue. http://trac.roundcube.net/ticket/1486211. Take a look.