In my webpage, I have a menubar (div) that contains bookmarks. However, when too many bookmarks are added, the menu becomes too wide for the page size I prefer (1280, 720) and becomes scrollable, causing some bookmarks to be out of view.
My goal is to ensure that all bookmarks are visible, and the best solution seems to be to display extra bookmarks on the next line. I am new to using jQuery and finding this task quite challenging. Can someone provide guidance or even a working sample to achieve this?