Menu

#15 Navigation View: Unordered List (á la ALA/Suckerfish)

open
nobody
None
5
2005-05-12
2005-05-12
RavanH
No

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...

Discussion

  • RavanH

    RavanH - 2005-05-12
    • summary: Unordered List View for navigation mod (á la Suckerfish) --> Unordered List for navigation mod (á la ALA/Suckerfish)
     
  • RavanH

    RavanH - 2005-05-12
    • summary: Unordered List for navigation mod (á la ALA/Suckerfish) --> Navigation View: Unordered List (á la ALA/Suckerfish)
     
  • RavanH

    RavanH - 2005-05-30

    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 ;)

     
  • RavanH

    RavanH - 2005-05-30

    Unordered List output for the navigation module (v 0.2)

     
  • RavanH

    RavanH - 2005-06-07

    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.

     
  • RavanH

    RavanH - 2005-06-07

    Unordered List output for the navigation module (v 0.3)

     
  • RavanH

    RavanH - 2005-06-23

    Unordered List output for the navigation module (v 0.4 XHTML1.0 compliant)

     
  • RavanH

    RavanH - 2005-06-23

    Logged In: YES
    user_id=1273913

    Latest changes v0.4:

    - put in closing tag routines '</li>' for compliance with
    XHTML 1.0

     

Log in to post a comment.