admin/users/edit/menu.js

Go to the documentation of this file.
00001 // -*-C-*- //tell emacs to use the C mode
00002 
00003 //modify the structure of the menu by adding a root to it
00004 MENU_ITEMS.unshift('Books', null, null);
00005 MENU_ITEMS = [ MENU_ITEMS ];
00006 
00007 //modify some properties of the menu
00008 MENU_POS[0].width = 50;
00009 MENU_POS[0].block_top = 56;
00010 MENU_POS[0].block_left = 165;
00011 MENU_POS[1].block_left = 45;
00012 
00013 //change the action that happens when a menu item is clicked
00014 function book(book_id)
00015 {
00016   //alert(book_id);
00017   document.userEdit.books.value += book_id + "\n";
00018 }

Generated on Wed Jan 9 08:27:32 2008 for DokBookWiki by  doxygen 1.5.2