See my implementation of the Views Accordion here (left sidebar):
Notice that I have scrolling on via CSS in the content area. Is it possible to swap in image icons (arrows) that cause the scrolling to happen (via a jQuery method) vs. having the scroll bar?
Do you have any suggestions for this?
Thanks in advance.
-backdrifting
Comments
Comment #1
manuel garcia commentedFirst of all, don't ever edit contributed modules' files, for these will get overwritten when you upgrade to the next version (applies to any module). I see there you are editing the module's css file. This is not needed. Just use your own style.css in your own theme for this (copy garland folder to /sites/all/themes if that's what you plan on using). Your theme's css styling will override any module's styling, including this one :) You can also switch off the module's css file in the options of your view if you'd like.
About the jQuery scrollbars, this is not a feature that the module provides, jQuery scrollbars would mean another plugin. Fortunately, the community already has a module that implements this plug-in, you can find it here:
http://drupal.org/project/jscrollpane
Comment #2
ambientdrup commentedThanks! Yes, don't worry - I will make my final CSS changes to the main theme style.css (or the like). I'm aware that it's not best practice to make changes to a contrib module core file. I understand that. This was purely in a "testing" sandbox environment.
Thanks for the scroll module suggestion. I'll take a look at that.
-backdrifting
Comment #3
ambientdrup commentedLooks like there are some problems with that Drupal jscrollpane module. See this post:
http://drupal.org/node/227168
Have these issues been addressed by the module developer?
-backdrifting
Comment #4
manuel garcia commentedI don't know backdrifting, i think you should ask in there ;)
I remember using that module a while back, not sure what the status is now with it. It's a simple module, all it does is give a function to include the plugin on your site so that you can then create your js file that creates the scroll bars using it. I suggest you read the plugin's documentation as well.
Comment #5
colorado commentedPut this in your style.css