Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

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

Started by Muut Archive 9 years ago · 4 replies · 1899 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 1297 9 years ago
Archive · by Muut Archive, 9 years ago
2 894 9 years ago
Archive · by Muut Archive, 9 years ago
2 4024 9 years ago
Archive · by Muut Archive, 9 years ago
1 2899 9 years ago
Archive · by Muut Archive, 9 years ago
3 1082 9 years ago