Recent Questions Org Structure Tree Jscript
Q: I have made a horizontal menu that have different colors for different pages. What I'm not figuring out is out to make the current page be the reversed color state? This page should actually have the "images" highlighted. I'm using the Deluxe Tuner plus deluxe-menu+deluxe-tree+deluxe-tabs-trial.exe.
A: Please, check the following parameter
var pressedItem=-2;
This parameter sets an index of an item that will be highlighted by default.
-2 - the toggle mode is disabled;
-1 - the toggle mode is enabled, but no items highlighted by default;
0,1,2,3,... - index of highlighted item in a top-menu.
The menu has only two states normal and mouseover. We'll try to add the pressed state in the future.
You can set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem.
You can't get this ID after you reload your page. That is why you should write your own code on PHP.
You can also set the correct
var pressedItem=1;
parameter on each html page.
Q: I have published on a test page you can see herebelow a test with the javascript pull down menu.
With IE, it works fine, the menu is displayed over the flash animation.
With Firefox, the flash animation disappears and comes back if I mouve the mouse out of the menu.
I have read the FAQs, but I can not see any document on this. Can you help me in understanding and solving the problem ?
A: You should add opaque parameters to OBJECT and EMBED tags.
You can find more info on this issue here:
http://www.deluxe-menu.com/objects-overlapping-sample.html
Q: I have placed my horizontal menu in javascript (1003 px width) in a table whose width is 1003px my dropdowns span from extreme left to extreme right (screen shots attached) by default the dropdown is leaving 20 pixels margins on both the ends which disturbs my layout. This happens when my screen resolution is 1024 x 768, when viewed in higher or wide screen monitors this problem does not arise. Please suggest a solution.
Appreciate your response.
A: This is space to document borders. We've set this space, so that yoursubmenus will not look like the part of browser window. If you wantyou can delete that space.
Open engine file for horizontal menu in javascript - dmenu.js - file in any text editor and find the following code:
space=15;
Change 15 to 0.
space=0;
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.