- Relative/Absolute menu position - 85% transparency for sub menus - Submenus automatically scrolls - Inactive/Disabled items - Text aligned to left - AJAX menu loading - loads web menu data from the server "on-the-fly". - Submenus dropdown on mouseover - Personal CSS styles for separate menu elements
Create contextual menus for your pages. For this purpose you should assign a special function for the object you want. The current coordinates of the mouse pointer or your own ones can be used for the contextual menu.
When the submenu is larger than the visible area of the page the submenu will be automatically decreased. To see all the submenu items you do not need to use scrollbars or something like that - just put your mouse to the bottom of a submenu and it will be automatically scrolled! You can also specify height and width for each separate submenu.
Build menus completely based on Cascading Style Sheets. It is possible to appoint the individual CSS styles for separate elements of the menu.
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>
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: Dreamweaver navigation bar disappearing behind flash file in Firefox..
A:You should add "opaque" parameter for
Q: Compliments on your product, I particularly enjoy the complete set of gui and java, that allows for the quick changes.
After a couple of months of using the trial, I have now purchased it and installed the license.
My question however regards the performance of the menu. Using firebug I note that my deluxe menu .js are the performance bottlenecks, It appears as if they are not being cached and it appears that collecting them is taking longer then the other .js files. What can I do to optimize the load time of the javascript multi level menu and prevent, reloading it from the server with every page reload. The apache has set the expiry correct I believe, as I understand from the header.
A: You can try to use AJAX technology.
AJAX-like technology: data for submenus can be loaded "on-the-fly" from the server.
New parameter: var tajax = 0/1; - disables/enables AJAX-like support
Current syntax for item parameters ( var tmenuItems): [text, link, iconNormal, iconOver, iconExpanded, tip, target, itemStyleInd, itemXPStyleInd, jsFileName]
Where jsFileName - .js filename on the server with submenu items ( var tmenuItems).
Q: Is it possible for a navigation bar item to have an associated "target"? What I mean is I'd like to be able to open the page in a new window, so I'd need to specify the href as well as "target=_new" (in HTML anyway).
A:You can set target parameter for all items: var itemTarget="_blank";
Where main - is the name of the main middle frame where you want to open the link.
or for each item individually: ["Home","testlink.html", "", "", "", "_blank", "", "", "", "", "", ],