I am currently working on creating a draggable menu for my website. The menu is functional and can be moved around the page as intended.
However, I have encountered an issue where the menu disappears when scrolling down the page due to its position attribute being set to "absolute" in order to enable dragging functionality.
Is there a way to make the menu stay fixed in place when scrolling or jumping to different sections of the page using hyperlinks?
Note: The menu comprises two divs. Clicking on "menu" reveals various hyperlinks that allow users to navigate through the page.
Thank you for taking the time to read this.