Recent Questions Dhtmlxtree Getpath
Q: Just wondering if it's possible to have the sub menu of my collapsible dhtml menu that appear when the "+" is clicked stay open when another page loads. I tried downloading the trial version & can't get that to happen.
Click on "web development" and then "web design portfolio" - when the new page loads the menu closes. Is it possible to have it remember which sub menus were showing when the new page loads?
A: Javascript/DHTML Tree has save state feature. You should set the followingparameter:
var tsaveState=1;
Q: I am having some difficulty dynamically adding items to a dhtml sliding menus.
A: See dtreet_ext_insertItem () function has the following parameters:
function dtreet_ext_insertItem (menuInd, parentItemID, itemInd, itemParams)
Creates a new item and inserts it into a specified position.
menuInd - index of a menu on a page, >= 0.
parentItemID - ID property of an item.<, >= 0.
itemInd - index of a new item within the menu, >= 0.
itemParams - item parameters.
Notice that parentItemID is the Id property of the parent item
(notindex). If you want to add top items you should set parentItemID=0.
itemInd - you should use this parameter if you want to add item in the
specific place, for example set itemInd=5 if you want to add item
before the existing item with itemInd=5.
If you set itemInd=null the new item will be added at the end of this submenu and its index will be added automatically.
Q: I am attempting to use the deluxe menu with frames. After click a few links the popup part of the menu stops showing up. This especially happens if the content of the main frame requires scrolling. In this case the scroll bar just flickers when I put the mouse over the menu.
Do you know why this would happen?
A: We need to check your menu.
Please, send us a direct link to your website, so we can check it.
Please, notice also that JavaScript Tree Menu can work within 1 frameset only.
It can't work within nested framesets. It is possible that you'll havesome errors.
The menu will work correctly in the cross-frame mode if you load pages into the sub frame from the same domain.If you load pages from another domain submenus won't be shown in the subframe - they will be shown in the frame with the top-menu.It's caused by a security policy of browsers - a script can't modify a content of pages from another domain.
Q: Do I need any additional loaded software as a visitor to a webplace using the Deluxmenu, for example Java applet, flash etc.?
A: You don't have to install additional software.
Your customer should change security settings in IE to allow Javascript on pages he loads.
When your security settings in IE doesn't allow Javascript onpages you load you can't see a dynamic page content.
There is no way to enable these preferences automatically, in othercase there are no reasons to create security preferences.