Change Site Content

Interactions

Change site content in response to a user interaction.

Play with the example below to see what you can do:

Open this example as a template so you can see how everything works in the Editor. 

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 Corvid.

Example Code

arrow&v

Example Demonstrates

onClick

Hide & Show

To start using Corvid:  Go to the Wix Editor > Dev Mode > Turn on Dev Mode