Multiple Dialogs Showing at the same time

0 views
Skip to first unread message

krishna...@gmail.com

unread,
May 23, 2006, 12:01:52 AM5/23/06
to Google Web Toolkit
Hi
I have the following requirement. I want to show multiple dialogs. I
was able to display them using the following code segment instead of
"dlg.show()" method.
RootPanel.get().add(dlg);

The only problem is when I show multiple dialogs, and when the user
cliks on one in hte background (partially hidden), i want to be able to
show it completely and push the other windows to the background (Just
like you have windows behaving in Windows OS). I want to use this
mechanism in creating a portal where I have all the user available
channels as a tree/menu and when the user clicks on a channel, I create
a new dialog or if that is already displayed, bring to focus.. Any
ideas?

sluramod

unread,
May 23, 2006, 1:00:18 AM5/23/06
to Google Web Toolkit
You need to change z-index style property.

Use something like this: DOM.setIntStyleAttribute(dlg.getElement(),
"zIndex", 100);

Alex

Reply all
Reply to author
Forward
0 new messages