Hi Jesse, Kenneth and Todd,

I agree with all of you, the menu at the top is good for 4:3 screen, but for 
16:10 screens, a menu at the left/right hand will be much better.

Jesse: What about the idea to check per js what kind of display the users uses 
and then choose the correct css for RT?

I mean, if a users logs in with a 4:3, he will get the menu at the top, so he 
saves space at the left and right and if this user/another user logs in with a 
16:10 display, RT choose the css layout with the menu at the right or left 
side?!? 

Something like this:

function init() {
        determineStyle();
}

function getBrowserWidth() { 
        if (window.innerWidth) {return window.innerWidth;}      
        else if (document.documentElement && 
document.documentElement.clientWidth != 0) {return 
document.documentElement.clientWidth;}
        else if (document.body) {return document.body.clientWidth;}             
        return 0;
}
function determineStyle() { 
        var browserWidth = getBrowserWidth();
        if(browserWidth <= 925) {
                for(var q = 0; (a = document.getElementsByTagName("link")[q]); 
q++) {
                        a.disabled = true;
                        if(a.getAttribute("title") == "narrow") a.disabled = 
false;
                }
        }
        if(browserWidth > 925) {
                for(var q = 0; (a = document.getElementsByTagName("link")[q]); 
q++) {
                        a.disabled = true;
                        if(a.getAttribute("title") == "wide") a.disabled = 
false;
                }
        }
}
function doResize() {
        determineStyle();
        if(document.getElementsByTagName("body")[0].className == "article") {
                var form = document.getElementById("commentformarea");
                var browserWidth = getBrowserWidth();
                if(browserWidth <= 925) {
                        form.parentNode.removeChild(form);
                        
document.getElementsByTagName("body")[0].appendChild(form);
                }
                if(browserWidth > 925) {
                        form.parentNode.removeChild(form);
                        document.getElementById("infos").appendChild(form);
                }
                moveComments();
        }
}

window.onload = init;
window.onresize = doResize;

Just as an idea?!?

Torsten


Kühne + Nagel (AG & Co.) KG, Geschäftsleitung: Hans-Georg Brinkmann (Vors.), 
Uwe Bielang (Stellv.), Bruno Mang, Alfred Manke, Thorsten Meincke, Mark 
Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: 
Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persönlich haftende Gesellschaft: 
Kühne & Nagel A.G., Sitz: Contern/Luxemburg Geschäftsführender Verwaltungsrat: 
Klaus-Michael Kühne


-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Kenneth Crocker
Gesendet: Mittwoch, 26. März 2008 17:09
An: Todd Chapman
Cc: RT Users
Betreff: Re: [rt-users] A brief preview of what RT 3.8 is going to look like

Jesse,


        I agree with Todd. It makes navigation easier to "see" and is therefore 
more "user-friendly". I hope we get a choice.


Kenn
LBNL


On 3/25/2008 6:04 PM, Todd Chapman wrote:
> 
> On Tue, Mar 25, 2008 at 7:31 PM, Jesse Vincent <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     http://fsck.com/~jesse/rt-3.8/ <http://fsck.com/%7Ejesse/rt-3.8/>
>     has screenshots of the new RT 3.8 theme
>     I've been working on over the past few days.
> 
>     Also, it's now much easier for you to create your own themes and
>     styles for RT.
> 
>     -jesse
> 
> 
> Jesse,
> 
> Not bad looking, but I do prefer the horizontal menus since they make 
> more efficient use of the screen space.
> 
> -Todd
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: [EMAIL PROTECTED]
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to