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<[email protected]> 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 <[email protected]>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. >> >
