We can now get a free functionality from native HTML when creating modals or dialogs, and thanks to the custom DOM element in Webflow, we can also setup and style them easily. See the navigator and page settings custom code for how styling and functionality is set, and add the attribute of open="true" to the <dialog> element in the navigator to open it for adjusting its internal content. For the open functionality to work from the javascript in the page settings, the <dialog> element must also always come right before the button element that opens it below.
Tags from Webflow:
modal, html5, dialog, javascript, customcode
The best Webflow projects handpicked & delivered.
We search the entire Webflow showcase to find the most clone-worthy websites. The kind of sites that make you say "wait... this is free?"
Unsubscribe anytime. No spam.
Booyah! The first newsletter will go out early next week.
Oops! Something went wrong while submitting the form.
0 Comments