kenwheeler / slick

the last carousel you'll ever need
kenwheeler.github.io/slick
MIT License
28.49k stars 5.89k forks source link

Target synced slides with AsForNav #2759

Open funkytraffic opened 7 years ago

funkytraffic commented 7 years ago

Scenario: There are two slick slides with a different number of slide items for each one.

I want to sync them so e.g. the 2nd slide of the slick slideshow A will get synced with the 5th slide of the slick slideshow B.

Support Request: Is this possible with AsForNav? Can I attribute each slide in such a way?

Alternative: Or to I have to write custom attributes for each slide like "parent" and "child" an use them in a custom function using GoTo?

funkytraffic commented 7 years ago

More general it would be nice to sync the slideshows with a custom attribute such as

asNavForAttribute = sid

where slick would go to the first matching sid attribute of the other slide and vice versa.