Unordered List - view for the navigation module.
This module will output an unordered list of *all* the
menu items in the style of A List Apart / Suckerfish
Dropdowns.
You can change the
layout to whatever you want using CSS: dropdown,
children only, top nav, parents only, expanded
hierarchy. No need for the SmartyMenu. Accessability
garanteed because of the use of <ul> instead of tables
or javascript-only dropdown menus.
See http://www.alistapart.com/articles/dropdowns/ for
the tutorial and some stylesheet examples.
Let me know if any problems occur with this view...
Logged In: YES
user_id=1273913
Latest change:
- resolved missing </ul>'s at the end of the list when final
<li> is not on level 0;
To do:
- dynamically add a class=''has_children" to any <li>
that... has children ;)
Unordered List output for the navigation module (v 0.2)
Logged In: YES
user_id=1273913
Latest changes v0.3:
- all toplevel menu items marked with a unique id=main_x
(where x is a number)
- all menu items within the breadcrumb trail marked with
class=current_line and the links with class=breadcrumb_link;
the active item is marked with class=current;
To do:
- class=children and class=siblings (for brother/sister
items) to all list items relative to the current one.
Unordered List output for the navigation module (v 0.3)
Unordered List output for the navigation module (v 0.4 XHTML1.0 compliant)
Logged In: YES
user_id=1273913
Latest changes v0.4:
- put in closing tag routines '</li>' for compliance with
XHTML 1.0