esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hirsch <hirsch.d...@gmail.com>
Subject Re: UI Playground - Mrinal's UI on Stax
Date Wed, 19 Aug 2009 09:00:36 GMT
I'm impressed that you found "my editing" so fast. I had to remove
this snippet, please I got an error for the "&&" part of the code. I
deleted it, because I didn't have time to figure out to fix it.
Probably, if you placed all the Javascript in an external file it
would work.

D

On Wed, Aug 19, 2009 at 10:51 AM, Mrinal Wadhwa<mrinal.wadhwa@gmail.com> wrote:
> http://esmecloudserverapache.dickhirsch.staxapps.net/track_view/
>
> This was just my initial play on how some of Bill's ideas around sidebars
> and a fluid resize can be handled .... I was also playing with the idea of
> intelligently hiding sidebars if the page is resized below a certain width
> (500 for now).
>
> @Dick in the code you deployed on full function seems to be missing (it
> seems checked in on my end?) ... so the intelligent resize is not working
> ...
>
>
>
>                        function onWindowResize(e){
>                                var newWindowWidth = $(window).width();
>
>                                if(newWindowWidth < HIDE_LEFTBAR_AT_WIDTH
&& !leftHiddenManually){
>                                        if(!leftBarHidden) hideLeftBar();
>                                }
>                                if(newWindowWidth > HIDE_LEFTBAR_AT_WIDTH
&& !leftHiddenManually){
>                                        if(leftBarHidden) showLeftBar();
>                                }
>
>                                if(newWindowWidth < HIDE_RIGHTBAR_AT_WIDTH
&& !rightHiddenManually){
>                                        if(!rightBarHidden) hideRightBar();
>                                }
>                                if(newWindowWidth > HIDE_RIGHTBAR_AT_WIDTH
&& !rightHiddenManually){
>                                        if(rightBarHidden) showRightBar();
>                                }
>                        }
>
>
>
>
> I have done some more experiments around this ... just haven't gotten around
> checking stuff in and now we're (at the company I started back in March) are
> close to an alpha release so things are kinda crazy at my end :)
>
> _
> Mrinal
> http://www.mrinalwadhwa.com
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Wed, Aug 19, 2009 at 1:57 PM, Richard Hirsch <hirsch.dick@gmail.com>wrote:
>
>> Hi,
>>
>> I just hacked the current deployment and added Mrinal's initial UI
>> from the UI branch. I just added contact information but someone could
>> probably take this and run with it, adding the other message info
>>
>> http://esmecloudserverapache.dickhirsch.staxapps.net/track_view
>>
>> D.
>>
>

Mime
View raw message