Recent Questions Free Templates Powerpoint Olive Tree
Q: The plus symbols (+) for Home, PRODUCT CATALOG, and Back are almost non visible and I can not find a parameter to move the collapsible tree menu to the right or to put a border on the left side.
A: You set the following style:
#menu TABLE {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 1em; PADDING-BOTTOM: 0px; MARGIN: -4px; PADDING-TOP: 0px; BORDER-COLLAPSE: collapse
}
You should delete
MARGIN: -4px;
style or set it:
MARGIN: -4px -4px -4px 0px;
Q: My menu bar will not “center” when I view it via the Firefox and Netscape browsers.
It views fine via Internet Explorer. Is there any remedy for this?
A: Try to set exact width for the menu in "px", for example:
var menuWidth="400px";
Q: My menu font is white. Is there a way to set the preview screen background color to something else than white?
Cause this is a problem as the main menu bar does not have a background color ( I want the background image of the page to shine through).
A: Yes, you can do it. Please open in any text editor the following file:
"C:\Program Files\JavaScript Tree Menu\deluxe-tuner\data\deluxe-menu\preview.html"
You should set bgcolor parameter, for example:
bgcolor=#000000
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.