Responsive Banner Slider: Works Great, Too Fast though

Hello,
I just installed your module on joomla 3.0.3 and it works amazing!!!!
I only wish to slow down the intervals on the Nivo Slider type. Please let me know how to do this since the only parameters for changing the interval seems to be for the adaptor type.
11 years 6 months ago #1 by Cole

Please Log in or Create an account to join the conversation.

Never mind, I followed the code trail back to the jquery.nivo.slider.pack.js and changed the pauseTime:3e3 to pauseTime:10e3.

Sorry I didn't wait for your reply, I like hunting threw code for solutions:)
Cheers!
11 years 6 months ago #2 by Cole

Please Log in or Create an account to join the conversation.

Hello

it would be better if we change them from it's option to override the default value.
Currently the module only pass one option for the effect, not the animSpeed and pauseTime but we can add them from

/modules/mod_responsivebannerslider/mod_responsivebannerslider.php at Nivo part about line 179-186

modified those lines to be like
$jsinline = "
jQuery(window).load(function() {
	jQuery('#slider-".$rbs_mod_id."').nivoSlider({
		effect:'".$nivo_effect."',
		animSpeed: 500, // Slide transition speed - change this to your preference
       		pauseTime: 3000, // How long each slide will show, change this to your preference
	});
});
";

have a try...
11 years 6 months ago #3 by erwinschro

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum