Recent Questions Javascript Tree Ol
Q: Is it possible to show a menu item in the simple navigation bar as selected by default to indicate what the current page is?
A: The menu has only two states normal and mouseover.
Try to do the following things:
- delete var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, forexample:
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
...
<script type="text/javascript" src="menudir/data.js"></script>
You can also 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.
Q: Where in the interface is there an area to make a tab selected or not for the div tab menu?
A: You should see the following parameters:
Top items
var bselectedItem=1; //--- Common
Submenus
var bselectedSmItem=10; //--- Tab-mode
Q: When the menus drop down the background is white but it is see through, this is ok on the homepage but on the other pages it is making the text unreadable. Is there a way of keeping the background of the submenus solid so it isn't see through javascript expanding menu?
A: You should set the following parameter:
var transparency="100";
Q: I would like to use your menu for a website I am building of which will only exists on a CD ROM.
Is it possible to purchase a license that will operate the html drop down menu on a CD ROM preventing the ‘Incorrect license’ message from appearing?
A: To use JavaScript Tree Menu on CD/DVD you should buy developerlicense. Other licenses allow you to use the html drop down menu on Internet/Intranetwebsites only.