Our website is dynamic from a MySQL db and we already have categories and sub-categories. It would be useful if we could use this with our deluxe menu.
I don't know how to set this up, so any assistance would be appreciated.
A: You may generate a menu from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.
<!-- (c) 2006, http://deluxe-menu.com -->
// and describe parameters of a menu
var menuItems = [
// here you generate items using server-side scripts (php, asp, vb, etc.)
The example of the menu working with PHP/MYSQL you can find here:
Q: In addition, as you know commercial websites also have to comply with EU regulations regarding disabilities, and I further believe that the current menu cannot be read by screen readers for blind/partially sighted/disabled users. Could you please confirm if this is the case, or if the java pull down menu can in fact be read by screen readers?
A: Deluxe java pull down menu is 508 compliant, but we don't have the certificate at this moment.
Q: Can you please give me an example of how I would return the full path to the selected item of the web site menu?
A: See the following example:
// get pressed item
var params = dm_ext_getMenuParams(mInd);
if (!(params>=0)) return '';
// get for this item
var params = dm_ext_getItemParams(mInd,smInd,itInd);
var result = params+ '('+ params+')';
// find root item id
if (smInd <= 0) return result;
params = dm_ext_getSubmenuParams(mInd,smInd);
for ( var smInd_=0;smInd_ for ( var itInd_=0;itInd_ itParam = dm_ext_getItemParams(mInd,smInd_,itInd_);
if (itParam=arams)// id
return result + '->' + getPathForItem(mInd,smInd_,itInd_);
Q: I have read your http://deluxe-tree.com/whats-new-info.html.
And really I do not understand this phrase:
- Item ID format has changed. It depends on the parent ID = [parent ID]i[item index].
Examples: for the first level dtree _0i0, dtree_0i1..., for the second level dtree_0i1i0,dtree_0i1i1, dtree_0i1i2...
Where do I fill in?
Do I have to rename my cascading menu titles?
A: Actually you shouldn't change anything.
This info is for the customers who use these indexes (dtree_0i1i2) only.