Recent Questions Tree En Ajax Php
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: If you click a list drop menu link in the tree that opens a new page, for example, Solutions:By Type:Psuedo Wire , the link, Psuedo Wire, remains highlighted.
If you click a line that targets _self, for example, Solutions: By Type: T1 Extender, the link does not remain highlighted. My web app will need highlighting and all links will target _self. I have to solve this problem soon or else look elsewhere.
A: It is normal behaviour, your list drop menu can save its state within one page only.
You can try to use frames, and open pages in the content frame. Also you can use aserver-side script (php, asp, vb, etc.) to generate html pages fromtemplates on your server (we use this method on our website
http://deluxe-tree.com).
You should set a pressed item using Javascript API:
function apyt_ext_setPressedItem(menuInd, itemID)
<script type="text/javascript"><br>
var i = 4 //index of the selected item
onload=setPressed;
function setPressed()
{
dtreet_ext_setPressedItem(0,dtreet_ext_getItemIDByIndex(0, i));
}
</script>
To expand specific items you should use the following function: dtreet_ext_expandItem (dtreet_ext_getItemIDByIndex (0, 11), 1);
Q: Is it possible to expand thetree menu javascript in a predefined way?
Lets say, Item 1 expanded, Item 2 not expanded, anyway, it should look like I select it in the ITEMS program window.
Now it is exanded completely or not, like I use the switch in the common parameters.
A: You can expand some items by default.
Add '+' sign before items text in that case:
["+Javascript/DHTML Tree: XP Style","", "deluxe-tree.files/xpicon1_s.gif", "", "", "XP Title Tip", "", "0", "", "", ],
["|Home","testlink.htm", "deluxe-tree.files/icon1_s.gif", "deluxe-tree.files/icon1_so.gif", "", "Home Page Tip", "", "", "", "data-new.js", ],
"Javascript/DHTML Tree: XP Style" item will be expanded by default in that case.
Use var texpanded=1; parameter to expand all menu items by default.
Use function dtreet_ext_expandItem (itemID, expand) API function to expand the specificmenu items dynamically:
http://deluxe-tree.com/functions-info.htmlQ: We are now working with JavaScript Tree Menu and can't get our favorite template to link. It is the one you call animated-icons
The example you gave has no links, but when we try to add links to it (in the 2nd parameter of any menu item), NOTHING happens.
It's not a broken link, it just wont do ANYTHING.
A: See your menu parameters. Now you have:
var itemTarget="";
var statusString="string";
You should set this parameters:
var itemTarget="_self";
var statusString="link";