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.
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]Any small thoughts about it would help.
is working on a reply...