-
AuthorPosts
-
June 19, 2015 at 6:23 am #207590
Hi,
Is it possible to make the slideshow (joomlart advanced custom module) play automaticly? without having to click the navigation
Css Magician FriendCss Magician
- Join date:
- October 2014
- Posts:
- 741
- Downloads:
- 43
- Uploads:
- 53
- Thanks:
- 114
- Thanked:
- 366 times in 263 posts
June 19, 2015 at 10:35 am #574794@dageraad,
Yes, you can try with my tweak as below:
Open file templates/ja_directory/acm/slideshow/tmpl/style-owl.php and replace
<script>
(function($){
jQuery(document).ready(function($) {
$("#acm-slideshow-<?php echo $module->id; ?> .owl-carousel").owlCarousel({
items: 1,
nav : true,
merge: false,
mergeFit: true,
slideBy: 1
});
});
})(jQuery);
</script>
width
<script>
(function($){
jQuery(document).ready(function($) {
$("#acm-slideshow-<?php echo $module->id; ?> .owl-carousel").owlCarousel({
items: 1,
nav : false,
merge: false,
mergeFit: true,
slideBy: 1,
autoplay: true
});
});
})(jQuery);
</script>
1 user says Thank You to Css Magician for this useful post
palos Friendpalos
- Join date:
- January 2013
- Posts:
- 369
- Downloads:
- 37
- Uploads:
- 8
- Thanks:
- 125
- Thanked:
- 27 times in 7 posts
February 9, 2016 at 1:30 pm #879928🙁
this line is already written:
autoplay: true
but nothing happens.
pavit has a working solution but navigation is broken…
https://www.joomlart.com/forums/topic/make-slideshow-start-automatically/#post-879915palos Friendpalos
- Join date:
- January 2013
- Posts:
- 369
- Downloads:
- 37
- Uploads:
- 8
- Thanks:
- 125
- Thanked:
- 27 times in 7 posts
February 9, 2016 at 1:30 pm #879929🙁
this line is already written:
autoplay: true
but nothing happens.
pavit has a working solution but navigation is broken…
https://www.joomlart.com/forums/topic/make-slideshow-start-automatically/#post-879915Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
February 10, 2016 at 8:38 am #880581@palosutca: Try to use my solution below
- Open templates/ja_directory/acm/slideshow/tmpl/style-owl.php file
find and change
(function($){ jQuery(document).ready(function($) { $("#acm-slideshow-<?php echo $module->id; ?> .owl-carousel").owlCarousel({ items: 1, nav : true, merge: false, mergeFit: true, slideBy: 1 }); }); })(jQuery);
to
(function($){ jQuery(document).ready(function($) { $("#acm-slideshow-<?php echo $module->id; ?> .owl-carousel").owlCarousel({ items: 1, nav : true, merge: false, mergeFit: true, margin:10, autoplay:true, loop:true, autoplay:true, autoplayTimeout:1000, autoplayHoverPause:true, autoplaySpeed:5000, slideBy: 1 }); }); })(jQuery);
-
AuthorPosts
This topic contains 4 replies, has 4 voices, and was last updated by Ninja Lead 8 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum