cycle2 icon indicating copy to clipboard operation
cycle2 copied to clipboard

Can't set manualSpeed

Open Thimp opened this issue 13 years ago • 3 comments

I can't set the manualSpeed of the fx. I've tried it with the 'fade' and 'scrollHorz', both won't work with the manualSpeed. The normal transition after the set timeout works as expected.

I tried it by js option: var pager = "div id='slidepager_club'"; jQuery('.homeslidewrapper').after(pager).cycle({ slides: '.homeslide', fx: 'scrollHorz', speed: 500, manualSpeed: 500, swipe: true, timeout: 5000, next: '#nextslideclub', prev: '#prevslideclub', pager: '#slidepager_club' });

As inline option in the html: data-cycle-speed="600" data-cycle-manual-speed="600"

And even by changing the value of the manualspeed in the cycle2.core.js and even this won't work.

The version of cycle2: v20130525 The version of cycle2 carousel: v20130528

Can anyone help me with this?

Thimp avatar Jun 27 '13 13:06 Thimp

Also have this issue.

ghost avatar Jan 28 '14 07:01 ghost

I don't understand, you're setting the manual speed to the same as the normal speed. If you want it to be the same you don't need to set it at all. It's only useful to change the speed of manual transitions, and typically used to set those to a short transition speed. I've updated the demo page to show a more pronounced difference between normal speed and manual speed:

http://jquery.malsup.com/cycle2/demo/manualFx.php

malsup avatar Jan 28 '14 15:01 malsup

Thanks Malsup. I was getting data-cycle-speed confused with data-cycle-manual-speed. Working as expected now :)

ghost avatar Jan 29 '14 00:01 ghost