Recent Questions Tree Map TemplatesQ:
I have a popup that in one of the submenus has an input field.
There is a problem – if the user clicks into the entry field,
but moves the mouse outside the php dhtml menu,
the menu can close while the user is still typing.
Is there any way to prevent that from happening?A: You can make submenus to stay visible till you click outside the menu or scroll your page.
To enable this feature you should set the following parameter:
Navigation bar code should indicate with on which page I me just considers..
but you can highlight menu items in two ways:
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,
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 find more info here:
Is there a parameter in Tree Menu I can add and/or adjust in data.js toforce the menu text to wrap and add here to a set menu width? A: You should use
tags, for example:
var tmenuItems = [
Width of the menu you can set so:
var tmenuWidth = "500px";
Try to specify units in "px".
var tmenuWidth = "182px";
It's necessary to specify exact value for Mozilla browsers. It helpsto position menus correctly.
You should set this parameter:
var tmenuHeight = "auto";
"A bit more of a concern is in IE8 where the menu does not function correctly in general at all. When you hover over the menu text the sub menu appears, but when you move your mouse across to select an item off the sub menu it closes. "
Are you able to confirm and rectify his problem? A: Yes, our menu has some problems with IE8, because IE8 is a betaversion and has just a part of future functionality, for exampleit still doesn't have filters.
We're planning to add the full support for IE8as well as for all major browsers.
All issues will be fixed with final version of IE8.