Hi DeanAyalon,
I created an HTML embed that moves with the scroll of the window.
Then, I want this element to stop scrolling when it reaches the position of the Vector element.
To keep it properly responsive on all screens, I need to get the position of the Vector element relative to the window
Hello onemoretime,
The getBoundingRect method from wixWindowFrontend is used to get information about the window, document, and scroll position,
not about a specific element on the screen.
I’m trying hard to find a solution
I’m not very familiar with them, but after reading the Wix API documentation, I found that getBoundingRect() is used to get information about the window, document, and scroll. I’m familiar with JavaScript, but this is my first time using the Wix API. I’m really enjoying it, but there are many challenges. I’m trying to find some ways
Hello Mark_Hunte,
The goal is not to retrieve the window’s scroll position directly, but rather to determine an element’s position within the window and send it using a post message