Active
Project:
Views carousel
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2010 at 16:50 UTC
Updated:
26 Jun 2011 at 09:45 UTC
is there, or will there be an option for this in the 2.x-dev version?
or is there a way I can accomplish this now?
Comments
Comment #1
trevorleenc commentedI tried copying in the code from viewscarousel_style_plugin.inc in the 1.x-dev, but that did not seem to work.
Comment #2
John Carbone commentedsubscribing
Comment #3
larowlanTo get this going you need the newer version of jcarousel (0.2.4) that supports calling methods like $('#selector').jcarousel('startAuto', 2);
But you can do it by changing your existing version as so:
Change the section of your jquery.jcarousel.js from
to
Then in your theme or otherwise arrange for the hover callbacks
Make sure you change the YOUR_SELECTOR and the YOUR_BEHAVIOUR appropriately.
The YOUR_SELECTOR is the id/css class of the dom element that the jcarousel is created against, you can find this by inspecting Drupal.settings.jcarousel in firebug
Comment #4
chris.slater commentedFor those who run into this issue now. In the options array, use the option: 'autoPause' => true,
I had to hunt around in the view for that, because I couldn't find the documentation mentioning it.