After encountering a similar issue and successfully resolving it, I realized the importance of finding creative solutions to technical problems.
In our case, we were using the Milonic Menu js dynamic menu creator which posed a challenge as all menus were generated solely through javascript.
To work around this limitation, I decided to mimic the appearance of the menus by creating a set of tabs that replicated what the Milonic Menu would have produced. Then, upon page load, I utilized javascript to remove these dummy tabs from the display.
Utilizing prototype, I implemented the following code snippet:
document.observe("dom:loaded", function(){ ...remove elements... });
This approach ensured that even when javascript was disabled, users would still be able to access and navigate through visually appealing tabs or menus.