00001 // -*-C-*- //tell emacs to use the C mode 00002 00003 // -*-C-*- //tell emacs to use the C mode 00004 00005 //modify some properties of the menu 00006 MENU_POS[0].block_top = 100; 00007 MENU_POS[0].block_left = 10; 00008 00009 //called when a menu item is clicked 00010 function edit(menu_item) 00011 { 00012 SendEvent('edit_menu', 'select', 'item_id='+menu_item); 00013 }