Flexible Carousel event control to jump to slides **Solved**

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: 11
Joined: Tue Jun 12, 2018 10:47 am

Flexible Carousel event control to jump to slides **Solved**

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?
Last edited by fiik on Sat Feb 02, 2019 11:06 pm, edited 1 time in total.

User avatar
Pablo
 
Posts: 15656
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: 11
Joined: Tue Jun 12, 2018 10:47 am

Re: Flexible Carousel event control to jump to slides **Solved**

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

Thanks Pablo, works perfectly.

Post Reply