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.

General

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

Started by Richard Sunfree 9 years ago · 0 replies · 431 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 Jerry Hunt, 4 days ago
2 95 14 hours ago
General · by pamtbaau, 20 hours ago
1 61 19 hours ago
General · by Andy Miller, 1 day ago
0 47 1 day ago
General · by Marcel, 12 months ago
6 356 5 days ago
General · by Duc , 6 days ago
3 44 6 days ago