Here you can see the first beta version of the new menu that I called LucidMenu. It is based on Sam Stephenson’s Prototype 1.5.

Demo: http://www.bodurov.com/lucidmenu/

Source: http://www.bodurov.com/lucidmenu/lucidmenu.zip

Some or the features like right to left text or having selected nodes are not yet completed, but other new features are already available.

What you can see here is:

  • Loading the content as JSON from an external file with AJAX
  • Isolated reneding – you can implement your function of what should be rendered. Here it is implemented in LucidMenuGenerator function. You can pass your CustomRenderingFunction function with the Menu constructor like this:
var menu = new LucidMenu("LucidMenu1", CustomRenderingFunction);
menu.load("MenuContent.txt");