Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. 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 · 597 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 Andy Miller, 6 days ago
0 106 6 days ago
General · by lynbor, 4 weeks ago
3 436 2 weeks ago
General · by lynbor, 3 weeks ago
7 555 2 weeks ago
General · by Harry, 2 weeks ago
0 159 2 weeks ago
General · by Old Man Umby, 1 month ago
2 308 3 weeks ago