Over the past couple of months I've been working on a self initiated project: GotBrief.
Detecting the width of a browser window can be very useful when designing a website, it allows you to create a more responsive design which is suited to the current browser dimensions.
I've recently been using the Views nivo slider module for a Drupal project which needed a nice neat javascript slider.