An increasing number of sites are using horizontal scrolling to good effect, The Horizontal Way and Modular People below are classic examples.

However scrolling these sites requires either clicking links to anchors, or dragging the horizontal scroll bar at the bottom of your browser. Considering these pages are designed not to scroll vertically, wouldn’t it be great if we could put the now redundant mouse-wheel to better use?

Now you can, using this small piece of Javascript that captures the mouse-wheel activity and translates it into horizontal movement. Once included on the required pages, they will effortlessly scroll horizontally and voila! Ease of use is once again restored.

Usage:

  • Download the single file below and include it in the <head> of your page, for example <script type=”text/javascript” src=”hscroll.js”></script>
  • That’s all folks, pages will now scroll horizontally!
Download hscroll.js (~1KB)
Limitations:
  • Erratic behavior may be experienced when using a multi-directional trackpad such as those on Apple Macbooks, this is because both vertical and horizontal tracking is translated into horizontal movement.
Questions and comments:
  • I’d love to hear your feedback, good or bad - why not leave a reply below.