Name: data-cycle-fx
Value : scrollHorz (slider scrolls horizontal)
Name: data-cycle-speed
Value: 500 (number of milliseconds the slide scrolls)
Name: data-cycle-pause-on-hover
Value: true
Name: data-cycle-timeout
Value: 4000 (# of milliseconds the slide is visible)
set to 0 for no auto sliding
Name: data-cycle-slides
Value: >div (slide is whatever is in the div)
Name: data-cycle-next
Value: .cycle-next (cycle slides forward)
Name: data-cycle-prev
Value: .cycle-prev (cycle slides backward)
Last step is to add cycle2.js url"> in before < body >tag on the page you want to use the slider on.
Name: data-cycle-fx
Value : fadeout (slider scrolls horizontal)
Name: data-cycle-speed
Value: 500 (number of milliseconds the slide scrolls)
Name: data-cycle-pause-on-hover
Value: true
Name: data-cycle-timeout
Value: 4000 (# of milliseconds the slide is visible)
set to 0 for no auto sliding
Name: data-cycle-slides
Value: >div (slide is whatever is in the div)
Name: data-cycle-pager
Value: #image-pager (Specifies use of pager Div with an ID of image-pager)
Name: data-cycle-pager template
Value: ''<a href="#"><img src="{{children.0.src}}" width="100%" height="auto"></a>''
**** Remove " " it is for site display purposes
The above value tells the pager to get images from the image child of the slide. The width can be set by pixel value but in this case the width is controlled by the the grid element.
Last step is to add cycle2.js url"> in before < body >tag on the page you want to use the slider on.
Keep in mind you can add the arrows from the previous CMS slider you will just need to make sure you use the cycle-prev and cycle-next properties.
Name: data-cycle-fx
Value : fadeout (slide fades in and out)
Name: data-cycle-speed
Value: 500 (number of milliseconds the slide scrolls)
Name: data-cycle-pause-on-hover
Value: true
Name: data-cycle-timeout
Value:0 (no auto slide)
Name: data-cycle-slides
Value: >div (slide is whatever is in the div)
Name: data-cycle-pager
Value: #single-img-pager (Specifies use of pager Div with an ID of single-img-pager)
Name: data-cycle-pager template
Value: ''<a href="#"></a>insert img url here' width=50px height=auto>''
**** Remove " " it is for site display purposes
The above value tells the pager to get images from the image from the img source url. Also if your img source file is larger use the width value to constrain it.
Name: data-cycle-fx
Value : fadeout (slide fades in and out)
Name: data-cycle-speed
Value: 500 (number of milliseconds the slide scrolls)
Name: data-cycle-pause-on-hover
Value: true
Name: data-cycle-timeout
Value: 4000 (# of milliseconds the slide is visible)
set to 0 for no auto sliding
Name: data-cycle-slides
Value: >div (slide is whatever is in the div)
Name: data-cycle-next
Value: .next (cycle slides forward)
Name: data-cycle-prev
Value: .prev (cycle slides backward)
Name: data-cycle-pager
Value: #default-pager (specifies use of pager div with ID of default-pager)
Last step is to add cycle2.js url"> in before < body >tag on the page you want to use the slider on.
You'll need to add the CSS styles into the the custom code section for the page. We used opacity as a quick way to distinguish active and hover states. Cycle2 automatically creates a span in the default-pager div to be able to select the class to style use .default-pager span
Last step is to add cycle2.js url"> below in before < body >tag on the page you want to use the slider on. Publish page to see results.
This method can be used for any embed or video slider that you want a thumbnail pager for.
We have used flexbox to create two equal divs that the collection lists are placed in. One is the slider and one is the pager.
In order for the pager to correspond to the right embed or video neither or the collection lists can be set to random. They can be ordered but both lists need to have the same ordering applied.
Name: data-cycle-fx
Value : fadeout (slider fades in and out)
Name: data-cycle-speed
Value: 500 (number of milliseconds the slide scrolls)
Name: data-cycle-pause-on-hover
Value: true
Name: data-cycle-timeout
Value: 0 (no auto sliding)
Name: data-cycle-slides
Value: >div (slide is whatever is in the div)
Name: data-cycle-pager
Value: #album-pager (Specifies use of pager Div with an ID of album-pager)
Name: data-cycle-pager template
Value: null
Last step is to add cycle2.js url"> in before < body >tag on the page you want to use the slider on.
This method can be used for any embed or video slider that you want a thumbnail pager for.
In order for the pager to correspond to the right embed or video neither or the collection lists can be set to random. They can be ordered but both lists need to have the same ordering applied.
Name: data-cycle-fx
Value : fadeout (slider fades in and out)
Name: data-cycle-speed
Value: 500 (number of milliseconds the slide scrolls)
Name: data-cycle-pause-on-hover
Value: true
Name: data-cycle-timeout
Value: 0 (no auto sliding)
Name: data-cycle-slides
Value: >div (slide is whatever is in the div)
Name: data-cycle-pager
Value: #video-pager (Specifies use of pager Div with an ID of album-pager)
Name: data-cycle-pager template
Value: null
Name: data-cycle-next
value: .forward (this value is the same class name as the div you want to use as the trigger)
Name: data-cycle-prev
value: .back (this value is the same class name as the div you want to use as the trigger)
Last step is to add cycle2.js url"> in before < body >tag on the page you want to use the slider on.
This really is just the tip of the iceberg of what Cycle2.js can do just by using the custom attributes in Webflow. More documentation and examples are here. http://jquery.malsup.com/cycle2/