Two questions about jQuery UI Dialog
Posted
by diyu01
on Stack Overflow
See other posts from Stack Overflow
or by diyu01
Published on 2010-06-11T14:20:47Z
Indexed on
2010/06/11
14:22 UTC
Read the original article
Hit count: 169
Hi, I have two questions about jQuery UI Dialog:
(1) How can I open a big dialog with topleft corner at my mouseclick point (and if the point is very near the right-bottom corner of my viewport, the dialog will be partly outside the viewport)? I know I can set position for the dialog, but it seems the dialog always overrides my position specifications by bringing itself wholly back into the viewport.
(2) If I have multiple dialogs open, how can I find the one that is currently topmost (and if there are several topmost ones that do not overlap, find any one of them)?
Thanks!
© Stack Overflow or respective owner