includes/clientside/static/dropdown.js
changeset 680 4cc27e7abd60
parent 582 a38876c0793c
child 806 543c05f86303
equal deleted inserted replaced
679:80bf9b8fe6aa 680:4cc27e7abd60
    80               {
    80               {
    81                 // Calculate height
    81                 // Calculate height
    82                 var ul = obj.childNodes[i].nextSibling;
    82                 var ul = obj.childNodes[i].nextSibling;
    83                 domObjChangeOpac(0, ul);
    83                 domObjChangeOpac(0, ul);
    84                 ul.style.display = 'block';
    84                 ul.style.display = 'block';
       
    85                 ul.style.zIndex = getHighestZ() + 2;
    85                 var dim = fetch_dimensions(ul);
    86                 var dim = fetch_dimensions(ul);
    86                 if ( !ul.id )
    87                 if ( !ul.id )
    87                   ul.id = 'jBoxmenuobj_' + Math.floor(Math.random() * 10000000);
    88                   ul.id = 'jBoxmenuobj_' + Math.floor(Math.random() * 10000000);
    88                 jBoxMenuHeights[ul.id] = parseInt(dim['h']) - 2; // subtract 2px for border width
    89                 jBoxMenuHeights[ul.id] = parseInt(dim['h']) - 2; // subtract 2px for border width
    89                 ul.style.display = 'none';
    90                 ul.style.display = 'none';