Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

[SOLVED] Sj Carousel How to Setup Autoplay
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: [SOLVED] Sj Carousel How to Setup Autoplay

[SOLVED] Sj Carousel How to Setup Autoplay 11 years, 7 months ago #9465

I am using Sj Company and I want to setup autoplay on sj carousel module, I tryed using this codes but not work for this template:

<script type="text/javascript">
$jsmart(window).load(function(){
setInterval(function(){
$jsmart('#myCarousel .carousel-control.right').trigger('click');
},5000);
});
</script>
<?php }else{ echo JText::_('Has no content to show!');}?>

Please help me!
The topic has been locked.

Re: Sj Carousel How to Setup Autoplay 11 years, 7 months ago #9480

  • SA Thuy
Dear Richard Vaca,

Please open default.php file (yoursite/templates/sj_company/html/mod_carousel/default.php) add the script following:
<script type="text/javascript">
		jQuery(document).ready(function($){
		setInterval(function(){
		$('#myCarousel .carousel-control.right').trigger('click');
		},5000);
		});
	</script>	

before the code :
<?php }else{ echo JText::_('Has no content to show!');}?>


Thanks
The topic has been locked.

Re: Sj Carousel How to Setup Autoplay 10 years, 11 months ago #15486

very helpful thanks
The topic has been locked.
  • Page:
  • 1
Time to create page: 0.21 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes