Popup Mode Example

Right click on document space to call a right-click context menu.
HTML:
<body bgcolor=#FFFFFF onContextMenu="return apy_popup(1, 1000, event);">
Mouseover the image to see a context dhtml menu:
HTML:
<img src="img/foto1.gif" width=90 height=98 hspace=10 onMouseOver="return apy_popup(0, 2000, event);" align=left>
Mouseover this link to see a second context dhtml menu
HTML:
<a href="testlink.html" onMouseOver="return apy_popup(1, 1000, event);">
Click this link to see a second context dhtml menu
HTML:
<a href="#" onClick="return apy_popup(1, 1000, event);">
To create a popup menu you should set following parameters:
var popupMode=1;
To show a popup menu assign the following function call to event:
yourEvent = "return apy_popup(menuN, pause, event);"
Where:
yourEvent - event type (onMouseOver, onClick, onContextMenu, etc.)
menuN - menu number on page.
pause - inactivity delay.
event - reserved. Do not change.
For example:
<img src="pic" onMouseOver="return apy_popup(0, 2000, event);">
To see configuration file (.js file) click here: popup-menu 1 popup-menu 2.

<<Prev: Javascript Navigation Menus DHTML Menu Examples CSS Menu :Next>>
How to setup | Parameters | DHTML Menu Home | Buy Now