Dynamic Context Menus
This example was posted to augment the discussions in
this thread and
this thread, in the v5 Help Forum.
Right-click off of a link to get the default context menu. Right-click on a link (e.g.,
Google or
Yahoo
... or any other link to a different page) to get a different context menu for links, which will include functions for "Open" and "Open in a New Window."
View the page source
View menu_data.js (functions added at the top)
Download a .zip file containing this example
Please note that users of Microsoft Windows XP with Service Pack 2 will need to unblock this page in order to see the menu.
The reason for this is due to the fact that the menu has been written in JavaScript.
This feature is considered unsafe when used locally and Service Pack 2 now blocks this by default for your safety.
This only happens when you run the menu on a local machine, live use on the Internet will not be affected.
Milonic Solutions Ltd assure you that there is absolutely no danger of allowing content from the DHTML Menu provided it has been downloaded from www.milonic.com
For information on menu properties, please see http://www.milonic.com/menuproperties.php
For information on menu item properties, please see http://www.milonic.com/itemproperties.php
For information on style properties, please see http://www.milonic.com/styleproperties.php
Context Right Click Menu |
The Context Right Click Menu is a special menu that only works
on certain browsers. The problem is due to the inability to capture
the right mouse click on Internet Explorer for Apple Macs The Context Right Click Menu is completely independent of all other HTML objects and
can be positioned on the page in a number of ways.
|
JavaScript Menu Courtesy of Milonic.com
Download a .zip file of this demo.