- Top items and submenus have a shadow - Transition #14 - "fade out" effect - Visible over select boxes, iframes, pdf, flash, Java applets. - Items with icons - Personal CSS styles for separate menu elements - Inactive/Disabled items - Submenus automatically scrolls - Submenus dropdown on mouseover
Submenus drop down over all the objects of the page (select, flash, object, embed, applet). If for some reasons a submenu can't drop down over an object, the latter will be hidden for a time when the submenu is shown.
These effects will make your menu more attractive and stylish. You can cast a shadow on the menu and submenus, set transparency. Among available transitional effects there are such as fade, mosaic, random dissolve, slide out and many others.
Create individual styles and assign them to any submenu and item. Use individual styles to achieve stunning effects!
Q: The only remaining problem I see is that the html popup menu appears in slightly different positions depending upon where your mouse touches the icon.
Is there a way to make the menu position absolute in respect to the icon? I have tried playing with the menu item parameters that seemed related with no success.
A: See dm_popup() function parameters:
return dm_popup(menuInd, pause, event, x, y) menuInd - index of the menu on a page, >= 0. pause - determines the time when the html popup menu will be hidden. event - constant. Do not change. x, y - optional. Set these parameters if you want the menu to appear in the specified place. In other case the menu will be shown in the mouse position.
Q: In the rollover menus, how can I have a heading link to and open another website's home page?
A:1) You can show the popup window when you hover, click or mouseout on some elements on yourpage. For example you have:
So, in Deluxe Tuner you should enter 'open_popup' object ID in the onMouseOver,onClick or onMouseOut fields.
Actually you can assign id to any object on your page: add id="open_popup" for <a>, <div>, <img> ... tags.
2) Or you can create only one data file and use deluxePopupWindow.open() function to open the popups.
More info about deluxePopupWindow.open() function you can find: http://deluxepopupwindow.com/window-installation-info.html
function deluxePopupWindow.open("winID", "content", "header", "param", "skin", "contentType")
Use another winID (first parameter) than you have in your data file if you don't want to close 1-st popup window or use thesame winID=win if you want to close 1-st popup.
content - will be the path to the file you want to load in your popup (files/test.html) skin - is the name of your skin (default in my example) contentType - set this parameter to iframe.
I call the skin .js file with id='win'. On the page you should open popup windows with the same id:
<a title="Click to open sample" href="javascript:;" onclick="deluxePopupWindow.open('win', 'files/test.html', 'Window','width=220,height=270,resizable,scrollbars=no,middle,right,fade-effect', 'windowsvista_graphite', 'iframe')">Click to open 1 PopupWindow with 'files/test.html' content.</a>
<a title="Click to open sample" href="javascript:;" onclick="deluxePopupWindow.open('win', 'files/1test.html', 'Window','width=220,height=270,resizable,scrollbars=no,middle,right,fade-effect', 'windowsvista_graphite', 'iframe')">Click to open 2 PopupWindow with 'files/1test.html' content.</a>
<a title="Click to open sample" href="javascript:;" onclick="deluxePopupWindow.open('win', 'files/2test.html', 'Window','width=220,height=270,resizable,scrollbars=no,middle,right,fade-effect', 'windowsvista_graphite', 'iframe')">Click to open 3 PopupWindow with 'files/2test.html' content.</a>
<a title="Click to open sample" href="javascript:;" onclick="deluxePopupWindow.open('win', 'files/3test.html', 'Window','width=220,height=270,resizable,scrollbars=no,middle,right,fade-effect', 'windowsvista_graphite', 'iframe')">Click to open 4 PopupWindow with 'files/3test.html' content.</a>
<a title="Click to open sample" href="javascript:;" onclick="deluxePopupWindow.open('win', 'files/4test.html', 'Window','width=220,height=270,resizable,scrollbars=no,middle,right,fade-effect', 'windowsvista_graphite', 'iframe')">Click to open 5 PopupWindow with 'files/4test.html' content.</a>
<a title="Click to open sample" href="javascript:;" onclick="deluxePopupWindow.open('win', 'files/5test.html', 'Window','width=220,height=270,resizable,scrollbars=no,middle,right,fade-effect', 'windowsvista_graphite', 'iframe')">Click to open 6 PopupWindow with 'files/5test.html' content.</a>
<a title="Click to open sample" href="javascript:;" onclick="deluxePopupWindow.open('win', 'files/6test.html', 'Window','width=220,height=270,resizable,scrollbars=no,middle,right,fade-effect', 'windowsvista_graphite', 'iframe')">Click to open 7 PopupWindow with 'files/6test.html' content.</a>
So, the previous window will be closed and the new one will be opened.If you want to open several windows at once use different id's for each link.
Q: The menu has a problem with newlines. The menu builds correctly (layout ok) but when pressed on the button nothing happens
At some point, in the DHTML menu, we have the following in the javascript:
var menuitems = [
["|Print HTML","javascript:alert('HTML print: Only the 7 most recent orders on the screen \n will be printed because of space limitations on paper.');printResult('4'); ","","", ,"_parent",,] ]
As you can see we have a newline (\n) between the words "screen" and "will". But when we click on the button nothing happens. If we remove the newline and we click on the button then we first get the alert box. After pressing the OK button the function printResult is called.
Is there any way for us to still use the newline character in the menuItems variable?
This can be easily reproducible. That's why I haven't made an example.
A: Try to write in the following way \\n:
["|Print HTML","javascript:alert('HTML print: Only the 7 most recent orders on the screen \\n will be printed because of space limitations on paper.');printResult('4'); ","","", ,"_parent",,]
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.