Recent Questions Html Tree Menu VistaQ:
I would like the button in the sub navigation bar to stay white when you navigate to a particular page..A: 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.Q:
I have noticed on your menus that have multiple nodes, you areallowing only the icon to be clicked and expand the tree. How would I alter the code so that when a user clicks anywhere on the tree with multiple nodes, the entire tree expands instead of the user having to be so precise in selecting the tiny icon to expand the tree. A: You should set the following parameter to expand item on a mouseclick:
Ok, please disregard my previous email, it was IE 8! I went back to IE 7 and everything is fine.
Is there a setting to make it go faster? A: var tXPIterations=5;
You can also try to use AJAX feature. It will increase the loading speed.Q:
See more info about cross-frame mode here: