Re: sub categories not working in firefox
2005/10/18 12:19
Viewed 4518 times
Replies: 1/3

You have to start the <UL> tags that define submenus inside the <LI> of the parent item (which is actually the HTML standard way of defining nested lists).

For the IE border, include the following line somewhere in your CSS after loading the DynarchMenu skin:

div.dynarch-horiz-menu { border: 1px solid #224433; }

(or whatever color you like).

Re[2]: sub categories not working in firefox
2005/10/18 12:43
Viewed 5910 times
Replies: 1/2

Thanks for the bordercolor tip :)

Re: subcats, that's what I did exactly and it's working on IE. Try to mouse over the Services menu, then Forest Management. A new set of menus should load next to Forest Management. This is working in IE but not in Firefox. Any idea why?

Thanks a lot!

last
Re[3]: sub categories not working in firefox
2005/10/18 13:02
Viewed 7190 times
Replies: 1/1

Re: subcats, that's what I did exactly and it's working on IE. Try to mouse over the Services menu, then Forest Management. A new set of menus should load next to Forest Management. This is working in IE but not in Firefox. Any idea why?

Well, the toplevel submenus are defined correctly, indeed, but here's one example of a deeper submenu where it's not correct:

<li><a href="..."><div style="...">Forest Management</div></a></li>
<ul>

As you can see, it's closing the <li> tag first, and the nested list is not anymore a sublist of that item.  That's not correct HTML and DynarchMenu can have no clue that that item has a submenu.

It works in IE because IE corrects the DOM when parsing the HTML.  We have plenty of reports on this issue, it's not a bug in DynarchMenu and certainly not a bug in Firefox—the fix is easy and only requires you to write correct code. ;-)

last
Google