Recent Questions Dtree Tuto
Q: I can't find anywhere in your documentation that states where I can call this function onclick other than in the menu web page target.
A: You can use onclick event in the following way:
var menuitems = [
["<div onClick='getLink(\'/Admin/Sales/Customers/Customers.asp\')'>Table of Contents</div>", ""]
]; Q: Thanks, we tried giving var pressedItem=0; and the script as below:
<script type="text/javascript">
onload=setPressed;
function setPressed()
{
dm_ext_setPressedItem (0,8,0,0);
}
</script>
We are facing 2 problems
1) Two menus are getting highlighted, the "Home" and the dynamic html menu which is called onLoad using dm_ext_setPressedItem (0,8,0,0); function)
2) The submenu of the dm_ext_setPressedItem (0,8,0,0) is not getting highlighted.
A: Try to set
var pressedItem=-2;
dm_ext_setPressedItem function has a following parameters:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion, parentOpen)
So, if you want to highlight item in the submenu you should use itemInd of this item (notitemInd of the parent item).
For example you want to highlight submenu item of the 'Manage Users' parent item with
itemInd=15.
You can find more info about dynamic html menu indexes here:
http://deluxe-menu.com/highlighted-items-sample.html#ind
So you should write the function in the following way:
dm_ext_setPressedItem (0, 3, 15, 1, 1)
menuInd = 0 if you have only one menu on the page
submenuInd = 3, see how to determine submenuInd in the table
http://deluxe-menu.com/highlighted-items-sample.html#ind
itemInd = 15, see how to determine itemInd in the table
http://deluxe-menu.com/highlighted-items-sample.html#ind
recursion = 1, to highlight parent items
parentOpen = 1, to open the submenu with the selected item.Q: Is there a way to have multiple drop down menus on the same web page? What I mean by that is I have a banner with drop downs (horizontal on page) that I want to use possibly with an include statement and when you click on one of the links from the drop down it would take you to a page that is say a department for example. But on this "department page" it would have another list of drop down menues in a different location in a vertical list. This gets tricky with a second set of script running to define the banner and a second set of drop down menues running vertical in a different location.
A: You can use as many different drop down menus on your site or your page as you want.
See more info about installation of several menus on the single pagehere:
http://deluxe-menu.com/installation-info.html
Q: Do you have a Mac version for javascript menu navigation?
A: You should download free trial version on MAC.
So, you'll have MAC version of JavaScript Tree Menus.
And use the licensed engine files from the licensed .zip
(you candownload it from the link in your license message).
Unfortunately we don't have html version of the Tuner for Javascript/DHTML Tree
and Deluxe Tabs now. We'll try to create it in the nearest future.
You can find all templates for Javascript/DHTML Tree, Deluxe Tabs, Popup Window, Calendar in thetrial package.
More info about installation and parameters you can find on our websites:
http://deluxe-menu.com
http://deluxe-menu.com/css-menu/
http://deluxe-tabs.com
http://deluxepopupwindow.com/
http://calendardatepicker.com/