Adding custom interactions with java script not working.

Hi
I followed the tutorial but the code which is appearing on the script is different to what is showing on your tutorial.
The problem is on my BRACELET page (midibar bracelet with birthstone…) i created an info icon and x2 boxes on the left which is (1) text box’instructions’ & (2) image ‘fontsample’ which I grouped together and would like it to appear upon hover on the ‘info icon’
however the code show up as
export function hoverzone_mouseIn(event, $w) {
//Add your code for this event here:
}
export function hoverzone_mouseOut(event, $w) {
//Add your code for this event here:
}
I do not know why there is an $w after the ‘event’ because it is not evident in your tute.
ive tried for 3 hrs already and am still unable to solve it/
Could you please assist as i am trying to put this info hover function on both the midibar bracelet products.
hope i managed to explain it clearly.
Kindly.
L

Hi,
Did you add show and hide methods to your code?
Roi.