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

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

Started by Richard Sunfree 9 years ago · 0 replies · 539 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 jeremycherfas, 1 week ago
4 181 2 days ago
General · by lynbor, 6 days ago
2 122 3 days ago
General · by Old Man Umby, 1 week ago
1 100 1 week ago
General · by Sebastian, 1 week ago
1 124 1 week ago
General · by Andy Miller, 3 weeks ago
0 248 3 weeks ago