top of page
Change Site Content

Change Site Content

Change site content in response to a user interaction.

Intermediate.png

Beginner

5K

Published:

January 1, 2020

Girl Enjoying her Drink

by

Anchor 1
Hire a Developer

Example Description

In this example site content in changed in response to a user interaction.

Example Code

Tab 1

.

Tab 2

.

Tab 3

.

This code solution can be complicated.

How We Built It

This example demonstrates how to use events as a visitor interacts with your site and changes your site content accordingly.


We use an event handler to change the image and button text that is displayed every time a visitor clicks the button.


Next Steps


  1. Open this example in the Editor to work with the template.

  2. Publish the site.

  3. Learn how to work with examples in Velo.

APIs We Used

Non-code example.

Related Articles

Hire a Developer

Velo solutions are powerful tools, but building them on your own can be challenging. Let an experienced Velo development shop build it for you, so you can keep working on your site or business.

Related Examples

Did this help?

Yes

|

No

Thanks for your feedback!

Hide & Show Elements

Hide & Show Elements

Hide and show elements in response to user interactions.

Intermediate.png

Intermediate

Mega Search

Mega Search

Filter a repeater using multiple input components.

Intermediate.png

Advanced

Collapse Elements

Collapse Elements

Collapse and expand groups of elements.

Intermediate.png

Beginner

Mega Menu

Mega Menu

Pack your entire website's navigation into a single multi-level dropdown menu.

Intermediate.png

Intermediate

Hide and Show an Image

Hide and Show an Image

Show and hide an image according to the clicked button.

Intermediate.png

Beginner

Anchor 2
bottom of page