Changeset 7931 for branches/3.18-stable


Ignore:
Timestamp:
Apr 27, 2021, 1:35:17 PM (7 weeks ago)
Author:
Nicklas Nordborg
Message:

References #2246: Sticky table headers

Fixes incorrect z-index on the menu items causing the menu to display below the sticky table header.

Location:
branches/3.18-stable/www/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.18-stable/www/include/menu.jsp

    r7815 r7931  
    13401340      type="horizontal"
    13411341      id="menubar"
    1342       style="top: 0px; left: 0px; right: 0px;"
     1342      style="top: 0px; left: 0px; right: 0px; z-index: 99;"
    13431343      open="click"
    13441344      filltext="<%=fillText.toString()%>"
  • branches/3.18-stable/www/include/scripts/menu.js

    r7894 r7931  
    5858    menuDiv.style.top = (y)+'px';
    5959    menuDiv.style.display = 'block';
    60     menuDiv.style.zIndex = 999;
     60    menuDiv.style.zIndex = '999';
    6161    menuDiv.canHide = true;
    6262    internal.registerVisible(menuDiv);
     
    132132    subMenu.style.top = (pos.top+dy)+'px';
    133133    subMenu.style.display = 'block';
    134     subMenu.style.zIndex = menuDiv.style.zIndex+1;
     134    subMenu.style.zIndex = parseInt(menuDiv.style.zIndex || '999')+1;
    135135    subMenu.canHide = true;
    136136    menuDiv.activeSubMenu = subMenu;
Note: See TracChangeset for help on using the changeset viewer.