Recent Questions
Q: Does deluxe menu need Java Virtual Machine installed on the computer that is trying to view the web site with a deluxe menu on it?
A: This menu doesn't require any external plug-ins to be installed.
If you can't see the menu in all browsers you should change security browser settings to allow Javascript on pages you load.
When your security browser settings doesn't allow Javascript onpages you load you can't see a dynamic page content.
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:
function getFullPath(mInd){
var result='';
// get pressed item
var params = dm_ext_getMenuParams(mInd);
if (!(params[2]>=0)) return '';
function getPathForItem(mInd,smInd,itInd){
// get for this item
var params = dm_ext_getItemParams(mInd,smInd,itInd);
var result = params[2]+ '('+ params[3]+')';
// 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[0]=arams[2])// id
return result + '->' + getPathForItem(mInd,smInd_,itInd_);
}
}
return result;
};
return getPathForItem(mInd,params[1],params[2]);
}
Q: I want to run a javascript function when a user clicks on item in the dhtml pop up menu,
How can I do this in the data file?
A: You can use your own Javascript code instead standard links. For example:
var menuItems = [
["text", "javascript:your_code_here"]
];
Q: I did not make anything complex - simply added a couple of menu items. As you may see the java swing popup menu being expanded overlaps with the rest of the table. I guess I am just not doing something right since it is a trivial case ...
A: Now you're using absolute position for the menu:
var tabsolute=1;
You should use relative position.