Does WixCode support the onscroll JS event?

Hello,

I have a box pinned to the upper left hand corner of my site. The box is hidden by default, and can be opened (unhidden) by hovering over a logo icon (also pinned to screen). I want the box to automatically open [.show()] when the window is scrolled up. So, when the client gets to the footer and starts scrolling back up to the top, the box should open.

Can I accomplish this with the wixWindow API?

Thanks!

Only viewport enter/leave for now

Hi,
You can achieve that using viewport enter/leave, check out the API here .