I followed the instructions at
https://github.com/amitaibu/jscrollpane/blob/7.x-1.x/README.txt
but no luck.

The line
jscrollpane_add_jscroll($commands);
results in a WSOD.

Any idea?

Comments

opdavies’s picture

Status: Active » Postponed (maintainer needs more info)

I have nothing to do with the Github code that you've linked to. Have you tried using the 7.x-1.x version on the project page? http://drupal.org/node/1271408.

You just need to download and install the module, and your .scroll-pane classes should automatically get replaced with the jScrollPane version.

opdavies’s picture

Assigned: Unassigned » opdavies

Assigning to me.

Anonymous’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Yeah, I used the module package and I was actually wondering why the .js files were also included in the module folder.
Adding the .scroll-pane class to the div container did the trick.
Thanks so much!
I'll mark this closed but should I write up a documentation page? Now looking at the 1(!) line of code in the script.js file makes a lot more sense to me, lol, but still someone else might miss that, too.

opdavies’s picture

I'm glad that it's working for you. :)

I'm about to release a stable beta version of the module which will include a README file with some instructions as well as a settings page to allow users to customise the class that triggers the module.