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 · 430 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 82 12 hours ago
General · by pamtbaau, 17 hours ago
1 55 16 hours ago
General · by Andy Miller, 1 day ago
0 45 1 day ago
General · by Marcel, 12 months ago
6 348 5 days ago
General · by Duc , 5 days ago
3 43 5 days ago