Sw not defined?

Trying to create a hover-over drop down menu, and have no idea what I’m doing.
I followed instructions inputting my own information and got

ReferenceError: Sw is not defined

Code is:

export function barbutton_mouseIn(event) {
Sw( “#barbuttonmenu” ).show()
}

Help?

You need to change the S to $.
https://www.wix.com/corvid/reference/$w.html
https://www.wix.com/corvid/reference/$w.html#$w

Thanks! Would you happen to know how to make a horizontal slide out menu as opposed to a drop down menu?