Recent Questions Tournament Trees Js
Q: We purchased your menu about 2 months ago and were curious if your menu has scrollable Sub-Menus or Scrollable Flyouts?
This is when you have a long sub-menu item and the user can click on up or down arrows on the menu fly-out to scroll to the next item.
If you are unclear as to what I am talking please let me know as I have seen this functionality in many popular DHTML Menus
A: Javascript/DHTML Tree doesn't have scrollable submenus. You should scroll yourwindow to see the whole menu.
We have smart scrollable feature in JavaScript Tree Menu
http://deluxe-menu.com/scrollable-submenus-sample.html
Q: I'm having trouble getting some of my drop down menu scripts opening in the frm2.
If you look under products, then Hard drives, then Rugged Airborne .....this one and Rugged Ground will not open in frm2 but the Contact Us and Get Quote are working fine.
Can you help me get these things to open in a frm2.
A: You should write your menu items correctly.
Now you have
["||Rugged Airborne","../RuggedAirborne.htm","Airborne,"frm2","0", ],
["||Rugged Ground","../RuggedGround.htm","Ground","frm2","0", ],
it is not correct.
You should write:
["||Rugged Airborne","../RuggedAirborne.htm","","","Airborne,"frm2","0", ],
["||Rugged Ground","../RuggedGround.htm","","","Ground","frm2","0", ],
Q: How can I make the 'hand' icon appear when someone moves their mouse over an item in the javascript menu open?
A: You should set the following parameter:
var itemCursor="pointer";
Q: When I stay on one page (for example "Home") аlso must have the menu-point "home" another color or font. How can I make this?
A: You should set pressed item.
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.
JavaScript Tree Menu v2.4 has only two states normal and mouseover. Now we'repreparing new version of JavaScript Tree Menu. It saves it state after thereloading of the page. We're planing to release a new version during a month.
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.