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.

Plugins

Automatic popup when opening the page

Started by Andy 6 years ago · 2 replies · 942 views
6 years ago

Hello, I'm new here and I use GRAV CMS only recently. I have the following problem.
I want zu open an Infobox / Infomassge like this:
https://demos.crazedbytes.net/shortcode-modal

I can the code copy to my Grav-CMS and it works too, but I would like the night message / info box to appear automatically when the page is opened without a button click. Do any of you know how I have to adapt the code so that it is automatically executed when the page is called? I am grateful for every tip. best regards Andy

Here the orginal Code:

TXT

[modal name="example1"] 

Hello, World!

[/modal]

[modal-launch modal="example1"]Launch Modal[/modal-launch]
6 years ago

Hi,
via the plugin if option exists or simulating a click with jquery

6 years ago

Hi, I can't find any options for the "shortcode modal" plug-in except for the demos, that's my problem.
How could such a click with jquery look like?

Suggested topics

Topic Participants Replies Views Activity
Plugins · by Rene, 1 week ago
2 49 1 week ago
Plugins · by Xavier, 4 weeks ago
2 57 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1184 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 50 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 75 2 months ago