- Horizontal or vertical orientation - Keyboard navigation - press Ctrl+F2 to enter the top menu - Transition #14 - "fade out" effect - Submenus go over all page objects - Items with icons - Personal CSS styles for separate menu elements - Special JavaScript API for changing javascript menu "on-the-fly" - Unlimited number of sub levels
Good navigation system is an important part of web site success. If people can't find their way around the site, they will rapidly give up looking and go, never to return. So, it's very significant that your website has a neat, fast, and gratifying to the eye navigation. Don't permit your web site visitors to get lost. Try Deluxe Menu!
Q: I can’t highlight the selected menu item of the current page in the javascript flyout menu?
A: 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.
The menu has only two states normal and mouseover. We'll try to add the pressed state in the future.
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.
Q: How can I upgrade to Deluxe Menu v2.0? Now I'm using v1.14.
A: How to upgrade to v2.00 --------------------------------------------------------------- You can download the licensed engine .js files from the same link in your license message. Deluxe Menu v2.00 has new parameters and features. To upgrade to v2.00 you should do the following.
Step 1.     1.1 For Windows users       a. Run Deluxe Tuner v2.0       (can be found in the trial menu package v2.0       http://deluxe-menu.com/deluxe-menu.zip).       b. Open menu data file (.js file where menu parameters are placed): select File/Open…       c. Save the file: select File/Save, then click "No" button when the dialog box appears.
    1.2 For other OS users       a. Open menu data file (.js file where menu parameters are placed) in a text editor.       b. Make sure that the following variables exist in the data file:
      var keystrokes = 0;       var dm_focus = 1;       var dm_actKey = 113;
      var dynamic = 0;       var smHideOnClick = 1;       var itemAlignTop = 'left';       var smSmartScroll = 1;
      var dmAJAX = 0;       var dmAJAXCount = 30;       var dmRTL = 0;       var dmObjectsCheck = 0;       var menuBackRepeat = "repeat";       var menuHeight = "";       var transDuration2 = 200;
If one of the variables doesn't exist - add it at the beginning of the file.
      c. Save the file.
Step 2. Now open HTML-page that contains Deluxe Menu.
Step 3. Replace existent tags of the menu by the following code:
Step 4. Save HTML-page.
Step 5. New engine v2.00 has 7 .js files. They are:       - dmenu.js       - dmenu4.js       - dmenu_add.js       - dmenu_dyn.js       - dmenu_key.js       - dmenu_cf.js (new v2.00)       - dmenu_popup.js (new v2.00)
Replace all old .js files by the files from v2.00.
Try that.
Q: I want to have the dhtml popup display as you mouse over an image - is this possible?
A:For example you want to open a popup onMouseover, onClick oronMouseout on a link.
So, you should create a link on your page and set id="" for it, forexample:
Q: I created a custom error page for a site, but the menu would not display.
I found that this was due to the erroneous "current directory" in the bad link test, for a non-existent directory.
which is: level2/level3/
I changed the script code from: <script type="text/javascript"> var dmWorkPath = "DMworkfiles/";</script> <script type="text/javascript" src="DMworkfiles/dmenu.js"></script>
to:
<script type="text/javascript"> var dmWorkPath = "DMworkfiles/";</script> <script type="text/javascript" src="/DMworkfiles/dmenu.js"></script>
adding the "/" before "DMworkfiles/dmenu.js" source reference allowed the .js file to be found in the root directory and the menu would display.
The problem is that the little menu "expansion" arrow .gif cannot be found in the "current working directory" of level2/level3/. just little "blanks" show.
I tried changing: var dmWorkPath = "DMworkfiles/";
to: var dmWorkPath = "/DMworkfiles/";
but that did not enable the display of the arrows.
I also had to prefix all of the links in the menu with a "/" to indicate the root directory because of the "current directory" for the bad page.
I hope I have explained the problem sufficiently. What am I doing wrong or missing here?
A: You can use additional parameters to make menu paths absolute:
var pathPrefix_img = "http://domain.com/images/"; var pathPrefix_link = "http://domain.com/pages/";
These parameters allow to make images and links paths absolute. For example:
var pathPrefix_img = "http://domain.com/images/"; var pathPrefix_link = "http://domain.com/pages/";
var menuItems = [ ["text", "index.html", "icon1.gif", "icon2.gif"], ];
So, link path will be look so: http://domain.com/pages/index.html
Images paths will be look so: http://domain.com/images/icon1.gif http://domain.com/images/icon2.gif
YUI 2.x: Threads, Posts, Latest. General. For discussion of the YUI 2.x project, including planning, roadmaps, documentation, and general topics not related
A list of clickable links or sub menu that appears when focus is on a particular menu ... be used on websites the end user has more navigation but limited screen space. ... Simple Web Runtime Design Patterns Using Dojo
YUI 2.x: Threads, Posts, Latest. General. For discussion of the YUI 2.x project, including planning, roadmaps, documentation, and general topics not related
#5118 : Arrow keys navigation in RTL languages is incorrect. ... #5429 : High Contrast mode was being mistakenly detected when loading the editor through Dojo's xhrGet. .... #4603 : Fixed unable to disable submenu items in contextmenu
#5118 : Arrow keys navigation in RTL languages is incorrect. ... #5429 : High Contrast mode was being mistakenly detected when loading the editor through Dojo's xhrGet. .... #4603 : Fixed unable to disable submenu items in contextmenu
A navigation event is restricted to opening at most one window. ... other styles include tundra nihilo soria\ndojo.require(\"dojo.parser\") ... Menu and Submenu starting from same position. iNetwork Aug 24th
A navigation event is restricted to opening at most one window. ... other styles include tundra nihilo soria\ndojo.require(\"dojo.parser\") ... Menu and Submenu starting from same position. iNetwork Aug 24th
A list of clickable links or sub menu that appears when focus is on a particular menu ... be used on websites the end user has more navigation but limited screen space. ... Simple Web Runtime Design Patterns Using Dojo