Search found 3 matches

by bmaras
Mon Sep 08, 2003 2:30 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Error if a menu is empty
Replies: 6
Views: 4318

Thanks a lot,
that's a good idea. I'll try it
by bmaras
Mon Sep 08, 2003 10:30 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Error if a menu is empty
Replies: 6
Views: 4318

In fact, I'd like to implement user rights on the menu.
Each menu item can be disabled if the user doesn't have the right to use it :
<% if user_has_the_rights() {%>
aI(...)
<% } %>
Thus, it can happen that a user has no rights for any item of a menu.

The workaround could be to make one more test ...
by bmaras
Fri Sep 05, 2003 4:57 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Error if a menu is empty
Replies: 6
Views: 4318

Error if a menu is empty

First of all, my congratulations to the developers of this menu, it is a wonderful tool that I will probably use in my future sites

Anyway, I have a javascript error ("_M has no properties") if one of the menus has no items in it.

Example :

with(milonic=new menuname("taxe")){
itemwidth=200 ...