Flexible Carousel event control to jump to slides

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
fiik
 
 
Posts: 8
Joined: Tue Jun 12, 2018 10:47 am

Flexible Carousel event control to jump to slides

Post by fiik » Tue Jun 12, 2018 10:56 am

Apologies if this has already been asked, I did do a forum search but did not see it.

If the carousel is set to none, full width, full width and floating you can control slides by events using javascript
$('#Carousel1').carousel('goto,1');

In flexible mode this function does not work.
I note the carousel is now a .bootstrapcarousel, and tried, unsuccessfully, various commands to try get it to goto a specific slide.

Please help, can someone tell me the correct replacement command?

User avatar
Pablo
 
Posts: 13575
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Flexible Carousel event control to jump to slides

Post by Pablo » Tue Jun 12, 2018 11:10 am

For the flexible (bootstrap) carousel you will need to use:

Code: Select all

$('#Carousel1').bootstrapcarousel(0);
This is demonstrated in this template:
http://www.wysiwygwebbuilder.com/suppor ... sic10.html

fiik
 
 
Posts: 8
Joined: Tue Jun 12, 2018 10:47 am

Re: Flexible Carousel event control to jump to slides

Post by fiik » Tue Jun 12, 2018 12:06 pm

Thanks Pablo, works perfectly.

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests