Floating Menu With Range, How to code it?

Hi everyone, i know ping to screen function. But i want Floating Menu only float in custom range like the image below:


How do i code it? Thank you

You can use Anchors to mark where on the page you want to allow the floating menu. Use the onViewportEnter() and onViewportLeave() functions of the Anchors to show or hide the menu when appropriate.

Thank You Yisreal, but how i keep Floating Menu alway in 980 pixel borders?

@gongoldgoal I enabled rulers in the Editor, and then located an Anchor at 980 on the Y-ruler. The Viewport event handlers can then be used based on the anchor’s position of 980.

@yisrael-wix i meant X-ruler. Wix 980 pixel borders in width.