Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Lotus 22 posts 20 karma points
    Mar 24, 2009 @ 10:51
    Lotus
    0

    Site w. ul top-menu + sub menu and class="current"

    Got a site with a "top-menu" made in an

      , all these top-menu pages has children placed in its own "sub-menu"
        .

        Site (redirected to home with ubracoRedirect property in doctype)
        -home
        --homechild1
        --homechild2
        -page
        --pagechild1
        --pagechild2

        etc.

        With help from PeterD i got it to work with this code. As you can see there is a class="current" set on th viewed page and its ancestor. With a bit of CSS you can show where you are.

        Top menu
        [code]


        [/code]

        Sub menu
        [code]


        [/code]

  • Lotus 22 posts 20 karma points
    Mar 24, 2009 @ 23:13
    Lotus
    0

    Any small thoughts about it would help.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies