Welcome to docs.opsview.com

Popup menus

See Events Views for latest method for implementing popup menus.

Should just need an onclick=”” in tag. Works on chrome, firefox, ie8, ie6, and safari. Using “if (!event) event = window.event;” makes it work in ie and allows you to avoid using prototype to register the handlers.

Should separate out into a separate js file for inclusion.

CSS classes

Class names are set in root/wrappers/default using javascript variables ol_fgclass and ol_bgclass. Opsview uses popupmenu_inner and popupmenu_output respectively.

When the popup is pressed, there is a div of id overDiv that has two tables added inside with the above class names.

The contents of the popup will have a div id of menu.