September 21, 2004

Changing Layout Depending on Resolution

Here's an innovative approach to a common web-design issue: Resolution dependent layout. Cameron Adams uses javascript to tell the size of the browser window, then changes styles accordingly. His example shows going from a 3 column layout to stacking those columns vertically. But, it would be easy enough to change the approach to show/hide sidebars or other content depending on the width. Worth checking out, at the least.