Diff for /bbecontainer/www/menu.js between versions 1.1 and 1.2

version 1.1, 2009/11/03 13:21:51 version 1.2, 2009/11/18 16:21:59
Line 2  var current_submenu=false; Line 2  var current_submenu=false;
 function show_submenu(self,parent)  function show_submenu(self,parent)
 {  {
         if(!current_submenu) {          if(!current_submenu) {
                current_submenu=document.getElementById('dummy_submenu');                current_submenu=document.getElementById('dummy_submenu');               
                 
         }          }
         current_submenu.style.display='none';          current_submenu.style.display='none';
         current_submenu=document.getElementById(parent+'_submenu');          current_submenu=document.getElementById(parent+'_submenu');
        current_submenu.style.display='';        current_submenu.style.display='block';
 }  }
 function init_menu()  function init_menu()
 {  {

Removed from v.1.1  
changed lines
  Added in v.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>