Search found 5 matches

by djfiii
Fri Apr 13, 2007 8:20 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Milonic menu that shows options specific to a user
Replies: 6
Views: 4524

NavBuildStyles Explanation:


This basically just selects all of the styles I defined in the database, and loops through them, outputting text in the same format that the milonic_data.js file would be. For me, there is only one style but if I add more I won't have to change any code - this will ...
by djfiii
Fri Apr 13, 2007 8:18 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Milonic menu that shows options specific to a user
Replies: 6
Views: 4524

Javascript Explanation:


As in the milonic examples, the first two lines are includes to milonic_src.js and mmenudom.js (my users only use IE so I don't use that conditional statement to decide between the IE menudom file and the NS file)

Then these 4 lines, not quite sure what they do but they ...
by djfiii
Fri Apr 13, 2007 8:08 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Milonic menu that shows options specific to a user
Replies: 6
Views: 4524

Table Explanations:

Navitems has one record for each link in your menus. itemid is the unique identifier for that link. menuid associates that link with a menu in the Navmenus table. text is the text for that link, and url is the url. pretty easy so far.

Navmenus has one record for each menu. id ...
by djfiii
Fri Apr 13, 2007 7:57 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Milonic menu that shows options specific to a user
Replies: 6
Views: 4524

I use sql server and asp, but you could do this with any technology. This post will contain the code, and I will post another that has some explanation.

Table Structure:

Navitems
itemid int primary key identity,
menuid int,
text varchar,
url varchar

Navmenus
id int primary key identity ...
by djfiii
Fri Apr 13, 2007 1:02 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Milonic menu that shows options specific to a user
Replies: 6
Views: 4524

Milonic menu that shows options specific to a user

I have implemented this in asp, if anyone is interested I will post the code. It assumes an existing user login scheme of some sort where user access rights are controlled via the database. All Milonic examples I saw are for static menus where everyone can see every option. Even the database example ...