These are examples of modal combinations Modal Trigger + Modal using Finsweet Modals.
The attributes
You always need a script to make Finsweet related impementation to work, but this one should be included in the <head> by default
<!-- [Attributes by Finsweet] Modal -->
<script async src="https://cdn.jsdelivr.net/npm/@finsweet/attributes-modal@1/modal.js"></script>
Finsweet Open ID (trigger), Finsweet Close ID (close button) and Finsweet Modal ID's (modal) numbers followed by the dash(-) always has to stay the same, in order for the modal to open.
Example:
Current IDs
Location modal - has none uses the default, open, close and modal
Course modals - from 1000 to 1500
Waiver modal - uses 9999
Supervision ratio modals - from 3000 to 3500
Read more in the Finsweet Modal Documentation
In this case, the Vertical Card includes the Finsweet Open ID (trigger) props and the CoursesModal includes the Finsweet Close ID (close button) and Finsweet Modal ID's (modal) props.
So all you need to do is add the same numbered ID's n the props!
Members $150
Unordered list
In this case, the SupervisionCard includes the Finsweet Open ID (trigger) props and the SupervisionModal includes the Finsweet Close ID (close button) and Finsweet Modal ID's (modal) props.
If you don't want to use The VerticalCard or the SupervisionCard, you can always add the Open ID to another trigger.
In this case just add the attribute fs-modal-element="open-XXXX" to the trigger element
We mainly use CMS Tabs for the ImageGallery Section, which is used in
- Coaches & Instructors Section in Yoga Page, Courses Page & Youth Page.
- Partners Section in Community Events Page
As it says on Step 1 on the CMS Tabs Page, copy the Script & paste it inside the <head> of the page where you want to use the Coaches & Instructors Section or Partners Section. In the Webflow case, it will be inside page settings custom code.
<!-- [Attributes by Finsweet] CMS Tabs -->
<script async src="https://cdn.jsdelivr.net/npm/@finsweet/attributes-cmstabs@1/cmstabs.js"></script>