#14716XMenu_Layers fails to position layers correctly in Firefox
Description
XMenu_Layers fails to position layers correctly in Firefox. It seems to temporarily add some value to the offset. Once any link in the menu is clicked and the menu is reloaded, the menu is displayed correctly.
example source code:
page.includeLibs.gmenu_layers = media/scripts/gmenu_layers.phptemp.MENU = HMENU
temp.MENU.1 = GMENU_LAYERS
temp.MENU.1 {
wrap =
leftOffset = 80
relativeToTriggerItem = 1
expAll=1
hideMenuWhenNotOver = 20
hideMenuTimer = 200
dontHideOnMouseUp = 1
freezeMouseover = 1
displayActiveOnLoad = 1
layerStyle = witdh:80px; position:absolute;visibility:hidden; left:80px; top:0px;
NO {
wrap = <tr class=“menu”><td class=“menu”>|</td></tr>
XY = 80, 22
backColor = #FFFFFF
10.offset = 0, 17
10 = TEXT
10.fontColor = black
10.text.field = title
10.fontSize = 11
10.fontFile = fileadmin/template/fonts/arial.ttf
}
RO< .NO
RO=1
RO {
20 = BOX
20.dimensions = 0,21,250,1
20.color = #003399
}
ACT < .NO
ACT = 1
ACT {
10.fontColor = #003399
}
ACTRO < .RO
ACTRO = 1
CURRO < .RO
CURRO = 1
}
temp.MENU.2 = GMENUtemp.MENU.2 {
wrap =
NO {
wrap = <tr class=“menu”><td class=“menu”>|</td></tr>
XY = 80, 22
backColor = #FFFFFF
10.offset = 10, 17
10 = TEXT
10.fontColor = black
10.text.field = title
10.fontSize = 11
10.fontFile = fileadmin/template/fonts/arial.ttf
20 = BOX
20.dimensions = 0,21,1,1 |*| 0,0,1,22
20.color = #003399
}
RO< .NO
RO=1
RO {
10.fontColor = #003399
}
ACT < .RO
ACT = 1
CUR < .RO
CUR = 1
}
——
(issue imported from #M1055)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.