Recent Questions Text Tree Menu Htm
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: Another question on the "onePerSession" parameter of window onload popup. Is there some other condition to it? I set it on the popup but the popup keeps coming back up. Could it be related only to window that initially loads?
Another question. I have a page with numerous popup windows. Could there be some strategy to having the opening a subsequent popup opening closing a previous one, so there would only be one popup at a time?
Comment; I found that I could combined multiple popup data.js files (the above webpage) together and now I understand how I don't have to deal with the "skin" popup window.
A: > Another question on the "onePerSession" parameter. Is there some other
> condition to it? I set it on the popup but the popup keeps coming back up.
> Could it be related only to window that initially loads?
It will appear only once per session. But if you open and close yourbrowser your window will appear again.You can send us a direct link to your website, so we can check it.
> Another question. I have a page with numerous popup windows. Could there
> be some strategy to having the opening a subsequent popup opening closing a
> previous one, so there would only be one window onload popup at a time?
You can use the same window and change its content usingdeluxePopupWindow.open() function.
Q: What's happening is the rollover drop down menu sits at the very top-left of the web page..
No matter what I seem to try, I can't get it to fit in a space that seems plenty big for it.
A: Please check that you use relative position for the menu.
You should set these parameters:
var absolutePos=0;
var posX="0px";
var posY="0px";
Q: How can I keep the already opened node open in simple tree view, when you expand another node.
A: Please set the following parameters:
var tcloseExpanded=0;
var tcloseExpandedXP=0;