element zindex in element tree?

8 views
Skip to first unread message

autohandle

unread,
Dec 23, 2011, 2:29:54 PM12/23/11
to google-we...@googlegroups.com
i need to show a popup on top of a popup(dialog). my popup is showing but it is behind the dialog and can't be seen. i thought i would walk up the element tree using:
o Element element = theWidget.getElement();
o element=DOM.getParent(element)
and for each element, i could ask:
o element.getStyle().getZIndex()
but this is only reporting the z-index for inline style attached to the element and not the styles from css. i can get a space separated list of css style names with: element.getClassName() - but i don't know how to ask for the style sheet so i can get the z-index from each of the style sheets on the way up the tree.

how do you determine your current z-index for a element?
Reply all
Reply to author
Forward
0 new messages