Recent Questions
Q: I’m very interested in your script of deluxe-menu.
I tryed your script out and have some questions now:
How do I highlight main menu items when I selected a main category?
How do I highlight submenu items when I selected a sub category?
How can I have a submenu unfoldet when I selected the matching main category?
I would be pleased to have answers to my questions as soon as possible.
Thank you for support!
A: 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.
Q: I've bought your products and I love them.
Now I need help on this:
When a specific webpage is loaded in the browser, how is it done, that the tree is expanded to the right state? I do not mean, when you have clicked the javascript animated menu – but when visitors come from external links on the webpage, I want to show the correct javascript animated menu-state opened.
Thank you very much for your help.
A: You should use API functions in that case
function dtreet_ext_expandItem (itemID, expand)
See more info about API functions:
http://deluxe-tree.com/functions-info.html
See the samples:
http://deluxe-tree.com/dynamic-drop-down-menu-sample.html
and
http://deluxe-tree.com/highlight-selected-menu-item-sample.html
Q: Is it possible to open a specific tab using javascript in the horizontal tabbed?
A: You can try to use the following function:
dtabs_itemClick(menuN, itemN);
where
menuN - index of a menu on a page, >= 0.
itemN - index of a tab you want to show, >=0.
Q: In Firefox, the java popup menu is hidden behind Flash player. Anyway to fix this?
A: See fix for flash in Firefox here:
http://deluxe-menu.com/objects-overlapping-sample.html