Recent Questions Sorting In Tree Menu
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.
Q: I have spanish characters that are not showing up in my menus correctly.
My array has this:
["|México","#", "", "", , , "7", , ],
buy in the drop downs it appears as M?xico
I read in the FAQ about displaying Norwegian characters
(http://deluxe-menu.com/rq-javascript-menu-drop-down-Norwegian-characters-support.html)
so I tried this:
but that did nothing.
I have the charset on the page set properly and the letters appear properly everyone else, only incorrect in the menus.
A: You should write your Spanish characters in the following way:
["|México","#", "", "", , , "7", , ],
Try that.
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 have used for your software for Menu creation(Trial version). We integrated it in our appliaction running good on IE 6. It has some whitespaces also. Menu using dhtml is not displayed in IE 7 when integrated in our application. When we call your html directly in IE 7 then it displays.
In Mozilla ,menu is displayed but without transitional Effects.
I am interest buy your software. If we are assured that above issues will be fixed in licensed version.
A: > Menu using dhtml is not displayed in IE 7 when integrated in our application.Try to set exact width for the menu, for example: var menuWidth="300px";
> In Mozilla, menu using dhtml is displayed but without transitional Effects.Filters and transitional effects are features of Internet Explorer5.5+ only.
See more info here:
http://www.deluxe-menu.com/filters-and-effects-sample.html