Forgot to include background-color:black in the css.
On Mar 23, 5:03 pm, lukehashj <[email protected]> wrote:
> I did something like this:
>
> SimplePanel modalDiv = new SimplePanel(new HTML(" "));
> modalDiv.setStyleName("modalDiv");
> modalDiv.setWidth("100%");
> modalDiv.setHeight("100%");
>
> RootPanel.get().add(modalDiv);
>
> DOM.setStyleAttribute(modalDiv.getElement(), "position", "absolute");
> DOM.setStyleAttribute(modalDiv.getElement(), "left", "0");
> DOM.setStyleAttribute(modalDiv.getElement(), "top", "0");
>
> with css:
>
> .modalDiv {
> filter:alpha(opacity=90);
> -moz-opacity:.90;
> opacity:.90;
>
> }
>
> -luke
>
> On Mar 18, 12:34 am, Saeed Zarinfam <[email protected]> wrote:
>
> > Hi
> > I want to mask page element when i show a dialog box over the page
> > (like google reader message box).
> > please guide me.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---