Recent Questions
Q: Is there a way to center the primary navigation and left-align the drop down for themenu script ?
A: Set the following parameters:
var itemAlignTop="center";
var itemAlign="left";
Q: Do you have an extremely simple example of modifying drop down menus with the JavaScript API?
A: You should use the following function:
function dm_ext_changeItem (menuInd, submenuInd, itemInd, iParams)
<script language="javascript" >
dm_ext_changeItem(0, 0, 1, ["", "", "new_icon.gif", "new_icon_o.gif", "",,""]);
</script>
Q: Is there a javascript function that I can call that will return the ID or the Text value of the currently checked tab?
A: Unfortunately there is no such a function now.
There are such variables.
dtabs_tabs[menuN].b1 - dtabs_tabs[menuN].selectedItem
dtabs_tabs[menuN].JT0 - dtabs_tabs[menuN].selectedSmItem
But they contain the index of the selected menu item, not the ID.
Q: We are using the deluxe menu in one of our projects. The menu works well on our integration system but not on our production system.
The only difference is that the integration is running on Tomcat Version 5.5.9 and the production (with the "broken" menu) on Tomcat 5.5.17.
But for me it looks more like a browser problem than a JSP problem.
Unfortunatley the Tomcat 5.5.17 is our production system so fast help is appreciated.
A: Try to set the following parameter:
var dmObjectsCheck=1;
Make sure that you have dmenu_add.js file in the same folder withdmenu.js file.