I would like a certain event to occur when a user clicks on "Purchase Request" in the menu.
Following is the script that generates the menu. "Purchase Request" is the second item in the menu.
window.menu_0 = new Menu("root",130,16,"Arial, Helvetica, sans-serif",10,"#002200","#002200","#D7DFD7","#F0EDE3","left","middle",3,0,250,-5,7,true,true,true,0,true,true);
menu_0.addMenuItem("Library Catalog","location='../OPAC'");
menu_0.addMenuItem("Purchase Request","location='../request.html'");
menu_0.hideOnMouseOut=true;
menu_0.menuBorder=0;
menu_0.menuLiteBgColor='#002200';
menu_0.menuBorderBgColor='#999999';
menu_0.bgColor='#cccccc';
Following is the script that generates the menu. "Purchase Request" is the second item in the menu.
window.menu_0 = new Menu("root",130,16,"Arial, Helvetica, sans-serif",10,"#002200","#002200","#D7DFD7","#F0EDE3","left","middle",3,0,250,-5,7,true,true,true,0,true,true);
menu_0.addMenuItem("Library Catalog","location='../OPAC'");
menu_0.addMenuItem("Purchase Request","location='../request.html'");
menu_0.hideOnMouseOut=true;
menu_0.menuBorder=0;
menu_0.menuLiteBgColor='#002200';
menu_0.menuBorderBgColor='#999999';
menu_0.bgColor='#cccccc';