Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

How to show and hide image according by click different button in modular page?

Started by Richard Sunfree 9 years ago · 0 replies · 685 views
9 years ago

Hi, i am new to Grav cms.

I want to show different picture in modular page by click button,
1) click button 1, show picture 1 below, while picture 2 is hide in the same position;
2) button 2 the same function as button 1, but show picture 2.

How to make it possible in modular page ?

Suggested topics

Topic Participants Replies Views Activity
General · by themetman, 24 hours ago
2 40 17 hours ago
General · by Hanns Mattes, 1 week ago
0 121 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago