Modal
Notes:
A modal is a popup that appears over other site content. It requires a click interaction from the user to open, and another interaction to close before they can return to the site underneath.
The modal is not a traditional block. Instead, links to a /modals/
path automatically create a modal.
Example:
Content Structure:
Code:
This code is included in AEM Block Collection, simply:
- copy the
.css
file and the.js
file and add to your project. - copy the
autoLinkModals()
function and add to yourscripts.js
file
recommendation-more-help
10a6ce9d-c5c5-48d9-8ce1-9797d2f0f3ec