Recent Questions Jquery DynatreeQ: I've been using your application for about 2 years but have never been able to insert a vertical divider in dhtml menu source.
A: You should set a separator in the menuItems, for example:
var menuItems = [
["Home","index.cfm", , , , , , , , ],
["About Us","about.cfm", , , , , , , , ],
Please, see the following parameters:
var separatorImage=""; //for subitems
var separatorVImage="images/public/separator.gif"; //for the top items
A: See, for example you want to use HelveticaNeue Condensed font.
If there will be no HelveticaNeue Condensed font on the user machinethe font won't be shown correctly.
You can find another font similar to your font and write it through a comma.
You should choose the font among the following fonts:
Times New Roman
These fonts are installed on the most of windows computers.
Or you can create images with text and use it for the top items.
Q: I've been trying to get the menu item in dynamic tree menu to stay highlighted when clicked on and directed to that page.
A: Tree Menu doesn't save a presseditem as it saves a tree state.
function apyt_ext_setPressedItem(menuInd, itemID)
var i = 4 //index of the selected item
To expand specific items you should use the following function:
dtreet_ext_expandItem (dtreet_ext_getItemIDByIndex (0, 11), 1);
Unless we set the topdy parameter to be -65, our submenus do not appear adjacent to the toplevel menu. Below are our parameters and our menu. What is causing this problem?
A: It is possible that you have some problems with your css.
The problem is that the script can't get css properties of the object if they are described in separate .css block (or file).
In other words, you can't get the value of "position" attribute of the object if the object doesn't have this property within inline style(style="position:absolute"). To get the value you should move .css style into style="" attribute.
Please, try to add your
css file -> inline css, for example:
You should add <DIV id=SiteMenu>
So, you'll have:
<DIV id=SiteMenu style="position:absolute;">