equal
deleted
inserted
replaced
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'; |