(c) 2005, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
   
   
  Samples
  Functional Samples
  AJAX-like Technology
  Javascript API
  Cross-frame Mode
  Popup Mode
  Smart Scrollable Submenus
  CSS Mode
  Objects Overlapping
  Filters and Effects
  Individual Styles
  Movable Menu
  Floatable Menu
  Multilevel Menu
  Multicolumn Menu
  Ways of Showing Submenus
  Image-based Menu

 

    Popup Mode

Create contextual menus for your pages.
You can assign such a menu to any event of an object: on mouseover, on click, on double click, instead of a standard menu of a browser, etc.

Click the image to show the menu

Right click the image to show the second menu

View data-file of this sample - 1st menu
View data-file of this sample - 2nd menu


To build the contextual menu set the following menu parameter:

var popupMode=1;

Then assign code in the following format to the event you want:

return dm_popup(menuInd, pause, event, x, y)

menuInd - index of the menu on a page, >= 0.
pause - determines the time when the 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.

For example:
     <img src="mypic.gif" onClick="return dm_popup(0, 1000, event);">
     <input type=button value="Show Menu" onClick="return dm_popup(1, 2000, event, 100, 50);">


Copyright (c) 2006, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. Tree Menu  |  Tabs Menu  |  Deluxe Menu.de