I'm using GWT 2.3.0 in my project and I have an iframe and a loading
mask. When the iframe content (to be more specific, the content is a
PDF) is loaded I need to hide the loading mask.

I tried using:

Frame frame = new Frame("http://www.example.com/example.pdf";) {{
   addDomHandler(new LoadHandler() {
      public void onLoad(LoadEvent event) {
         loadingMask.setVisible(false);
      }
   }, LoadEvent.getType());
}};

and:

Frame frame = new Frame("http://www.example.com/example.pdf";) {
    @Override
    protected void onLoad() {
        super.onLoad();
        loadingMask.setVisible(false);
    }
};

Because of the content is a PDF, both codes don't work in IE.

Is there a way to get the readyState iframe property with GWT?

I would appreciate any feedback. Thanks for all.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to