So in other words, if I have a horizontal navigation and I select the 3rd index along the menu
and select something from this, how can I make the 3rd index highlighted?A: You can find more info here:
Try to do the following things:
- delete var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, forexample:
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.
I'd like to be able to right click on items in a collapsible menu and then pick actions to perform from a context menu
Is this possible?A: You can use API functions
function dtreet_ext_userRightClick (itemID)
See more info here:
My tree menu has a white border around it. I want NO border. I have experimented with the Menu Appearance items in the "variables" section with no luck.
Lastly, I'm not sure where to put the link code. It's not clear in the documentation. A: Please, set the following parameter:
var tXPBorderWidth = 0;
> Lastly, I'm not sure where to put the link code
I'm not sure I understand you. Link is the second parameter in the tmenuItems array.
["||about the AAUCM","http://www.614designs.com", , , , , , "3", , , , ],
More info you can find here;
I've now begun to offer my clients multiple levels offunctionality. Is there any way to add another level of complexity to the php drop down menu? Would AJAX Menus be the best approach for doing this? A: You can do it in three ways now.
1) You can use API functions to generate items dynamically:
function dm_ext_createSubmenu (menuInd, submenuInd, itemInd, iParams)
function dm_ext_addItem (menuInd, submenuInd, iParams)
See more info:
2) Use AJAX feature and create different .js files depend on company and user level.
3) Generate your menu items dynamically from database.
Unfortunately we don't have working example with ASP.
You may generate a menu from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.
you should move parameters of a menu from a .js file into an html-page, e.g.:
<!-- (c) 2008, 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: