Discussion about Hot Spinner Joomla module.

How to make Spinner starts at specific slot number

More
12 years 6 months ago #19244 by GoldenRetriever
I would like the Spinner starts from says slot6 instead of slot 1 as default.
Anyone knows how to do that please help. Thanks a lot.

Please Log in to join the conversation.

More
12 years 6 months ago #19248 by ivan.milic
you can move it from jscript :

jQuery(document).ready(function(){
jQuery('#container').holest_carousel('gotoItem',5);//Slot6, index = 5 = 6 - 1
});

but that will also be animated

Please Log in to join the conversation.

More
12 years 6 months ago #19449 by GoldenRetriever
Thanks for your reply. But I seems not get that one. Did you mean I need to add that code into the file jquery.holest.carousel.js?
I make a try by insert your suggested code into begin of that js file, but nothing change.
If possible, please explain a bit more details. As I'm have no background on js script.

Please Log in to join the conversation.

More
12 years 6 months ago #19459 by ivan.milic
You can add it in index.php of template near bottom of body tag in script block, that call must be made after initialization.

Please Log in to join the conversation.

Time to create page: 0.201 seconds
Powered by Kunena Forum