a stroke of luck

jScrollPane 1.2 released

I’ve just released a new version of jScrollPane – my jQuery plugin for cross-browser customisable scrollbars. It’s been a long time since the plugin has been updated and this release contains a number of significant improvements:
  • a jScrollPane now correctly scrolls when you tab to a focusable element within it [example]
  • a jScrollPane can now automatically re-initialise itself when images inside it load [example]
  • external (and internal) links to an anchor within a jScrollPane now correctly scroll the jScrollPane [example]
  • defaults settings are now user-settable [example]
In addition to these changes, jScrollPane now has a new home on googlecode. This makes it easier for people to keep up to date with the latest version and more importantly it makes it easier for me to track bug reports and issues with jScrollPane (something that was basically impossible on the jQuery plugins site). As you can see, there is already a number of issues raised (one of which has high priority) so there may well be a bug fix release soon. In the meantime, it would be good to get people testing the new release and seeing if I broke anything else while implementing these changes…


jScrollPane 1.2.1 was released very shortly after 1.2 to fix a fairly serious bug which prevented links within the scroll pane from working correctly. As always, the googlecode site has the latest version.

jScrollPane – custom cross-browser scrollbars

jScrollPane is a jQuery plugin which provides you with custom scrollbars which work consistently across all modern browsers. You can style the scrollbars using simple CSS and they degrade gracefully where JavaScript is disabled.


There are full examples of many different use-cases for jScrollPane all available from the jScrollPane homepage.


jScrollPane is currently at version 2.0. You can keep up to date with all changes to jScrollPane via its github project page.


jScrollPane has it’s own github project – this is where the latest sourcecode and releases can be downloaded from. You will find the latest cutting edge code in the master branch while all previous releases will be available as tags in the git repository. Thanks to the magic of github, archives of each branch/ tag are available on the download page.

Bug reporting and feature requests

All bugs should be reported through the github issues list. Please first make sure that you are in fact seeing a bug, the best way to confirm is to discuss the issue first on the google group (see support section below). You should also check the known issues and FAQs. If you do submit a bug please provide a minimal test case showing the bug in action. This can be a URL to any page showing the bug although I would suggest creating a js fiddle – this makes it really easy to tweak the test case and fix the bug. You can use this basic jScrollPane demo fiddle as a starting point for your bug demo if you like.


Support for jScrollPane is available either via stackoverflow (tag your questions with jquery and jscrollpane) or through the jScrollPane google group. But please make sure you first check the FAQs. I will do what I can to help although some questions might get a faster response from the friendly folks on the jQuery mailing list. If your problem is urgent and you want prioritised help then there is donate button below which you can use to try and catch my attention ;)


jScrollPane is completely free and open source. However, if you find jScrollPane useful and you would like to make a donation towards my beer fund then please use the paypal button below to donate any amount. Thanks!
You can also donate to the project by joining the mailing list and answering any questions that you can.

jScrollPane – Cross browser custom scrollbars

I’ve just released my latest plugin for jQuery – my favourite JavaScript library. It is a small (4KB) script which allows you to replace any vertical scrollbars on a div with overflow:auto with your own custom scroll bars. More info, demos and download here.

Hello Adobe feeds!

I’ve just found out that my blog is now aggregated on Adobe Feeds. So I thought I would do a quick post to say hello (hello!) and to link to some of my popular or interesting old content:

  • The launch of Sharify – a service to allow developers to easily add shareware features to their AIR applications so that they can sell them
  • jScrollPane - my plugin to allow you to create cross browser custom scrollbars on any HTML element.
  • Some audio programming experiments in Flash Player 10.
  • Some experimental javascript – playing with jQuery and Raphael JS to use javascript for fun and experimentation rather than serious “work”.
  • My jQuery datepicker plugin.
  • My experiments with tweetcoding – seeing what can be made in 140 characters of actionscript.
  • Some experiments with Papervision.
  • Flashr – my old as2 wrapper for the Flickr API.

I hope some of that is interesting to people. Moving forwards, I hope to be making many more posts about Flash, Flex, Javascript, AIR and more. Recently I’ve been programming quite a lot of c sharp .net too and I’ll to write up some of my thoughts about that from the point of view of someone coming from languages like actionscript and javascript. Plus I want to finish the bunch of half done papervision and audio experiments I have sitting around!


In this section of the site you will find any of my random experiments which have progressed far enough to earn the title “project”. That probably means that they are somewhat generic and may be useful to other people.