Hi,
So I followed the instructions as per the WIX Tutorial video.
But I am stuck in step 5. When I Press Period . NO list of all the functions displays. (See image)
Any suggestions?
3. Add Code to Your Event Handler
Now you’ll need to set up the image so it’s not visible when the page loads, and add code so that the image appears when the button is clicked.
Interactions are coded using the Wix Code APIs. For example, in order to make an image appear, you’ll use the .show() function for the image element.
To set an image to be hidden on load and to show on a button click:
-
Select the image and then in the Properties panel check Hidden on load .
-
Hover over the image. You’ll see the ID of the element in the upper-left corner, starting with a # . Remember the ID—you’ll need it later.
-
In the code panel, under “Add your code for this event here”, press Enter to add a line inside the function.
-
Type $w and then press CTRL + Space . Select your image ID from the list. The code that selects your image will be added.
-
Press Period . A list of all the functions you can use with your image element will appear. Scroll down and select show(animationName) .