This is another list example, primarily to demonstrate that destroying a list returns it to its initial state. The list is not hidden, and you get to create it, and destroy it, at will. (This is functionality introduced in v2.0)
This takes an unordered list (UL) that has ‘data-‘ attributes and a jqDockAuto class, and automatically runs jqdock on it. A new menu is constructed from the list – one that jqdock can work with – and is displayed. (This is new functionality introduced in v2.0)
Horizontal menu of links with ‘top’ alignment. Similar to the preceding ‘jigsaw’ example, but with labels enabled at mid-centre.
Vertical menu with ‘center’ alignment, where the bias is set for 25% expansion to the left, 75% right, instead of the default 50/50.
Horizontal menu of links, with the links actually active (ie. not intercepted by my default click handler!) and calling other examples.
Horizontal and vertical menu : the vertical menu is completely and solely controlled by the horizontal menu (of links).
Horizontal menu (of links) at the top, vertical menu on the right, both with labels enabled.
Horizontal menu of links, with an initially ‘active’ item. The dock is asleep at the start (onReady returning false), and the ‘active’ item can be toggled by clicking.
Horizontal menu, with sub-menus set up as labels using the setLabel option.