You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When clicking on a link that has an ID in its href that matches the ID of one of the carousel elements, the carousel is intended to scroll to the appropriate position as illustrated in the first and second demo on the Patterns site. The demo however doesn't function at this moment.
Proposed behaviour:
Carousel initialises and scans for IDs (if any) on the carousel slides.
Carousel scans dom tree for any HREF attributes with values that match any of the IDs.
Links that have an HREF value that matches an ID will act as a 'jump-to-slide-trigger'.
A class current is added to the link that is associated with the active slide and the current classes are removed from links associated with the same carousel, but that are not associated with the active slide.
The current class behaviour also functions when the user slides the carousel using gestures.
The text was updated successfully, but these errors were encountered:
When clicking on a link that has an ID in its href that matches the ID of one of the carousel elements, the carousel is intended to scroll to the appropriate position as illustrated in the first and second demo on the Patterns site. The demo however doesn't function at this moment.
Proposed behaviour:
current
is added to the link that is associated with the active slide and the current classes are removed from links associated with the same carousel, but that are not associated with the active slide.The text was updated successfully, but these errors were encountered: