At the original post for AD xMenu, I stated that main UL element must have
position:relative. This created simplest possible solution, as it defined new coordinate system for submenus (which are absolutely positioned) and allowed me to use simple xLeft and xTop.
What I wasn’t aware of is that
position:relative in IE also creates another “dimension” for
z-index. After 5 days of trying this and that (I falsely accused floats as the source of problem), a good weekend spent with a girlfriend probably relaxed me enough to try something different and find a solution.
So now, ADxMenu 1.4 has a mandatory rule that you should not make your main list relatively positioned. This now means that submenu positions are calculated using xPageX and xPageY, which took few hours of testing to make sure it doesn’t break under any (yeah, right) circumstances.
Another improvement is that I removed all spans inside of A elements, which means we now have beautyful, simple unordered list of links.