Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Is it possible to make a pop up window in Grav?

Started by Muut Archive 9 years ago · 4 replies · 2038 views
9 years ago

Apologies if this is a stupid question, but I'd like to have a pop up window show when someone clicks on a button (for a FAQ popup). Is this possible? I've tried googling to see if anyone else has done this but had no luck.

Am also a first-time user of Grav so I would appreciate any explanations in "simplified" terms... thank you!

9 years ago

Simply add a js to your frontend (like sweetAlert), bind a event to you click button, then enjoy.

9 years ago

I'll give that a go, thanks for the help!

9 years ago

Thanks! I did manage to get it working using javascript and SweetAlert2, but I'll keep that alternative in mind for future use!

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2270 9 years ago
Archive · by Muut Archive, 9 years ago
2 1493 9 years ago
Archive · by Muut Archive, 9 years ago
2 4741 9 years ago
Archive · by Muut Archive, 9 years ago
1 3552 9 years ago
Archive · by Muut Archive, 9 years ago
3 1618 9 years ago