I've found a workaround.  Simply use another PopupPanel to position
the iframe shim.

- Paul

On Dec 10, 3:44 pm, ka1n <leskap...@gmail.com> wrote:
> Thanks for the reply.  Unfortunately the solution you mentioned is not
> sufficient for me because the pdf is taking up most of the screen.
> Making it invisible for a mere popup would look terrible.
>
> There is another solution and I already know how to do it without
> GWT.  A simple iframe shim does the trick.  I'm having some trouble
> positioning a shim in GWT.  The trouble is how to 'add' the shim (e.g.
> Frame) to the document.  It must be positioned the same way a
> PopupPanel is (e.g. not added to RootPanel).
>
> - Paul
>
> On Dec 9, 7:22 pm, MrEiki <mre...@gmail.com> wrote:
>
> > Hi, i've had the same problem with another toolkit. After some
> > research i got to the conclusion that this was due to how the browser
> > (adobe plugin) renders the pdf. Changing the z-index does not work.
> > One way to work around this is simply to let add a listener to the pdf
> > containing element, and hiding it when you open the menu.
> > For example: (not done with gwt tho)
>
> >http://nsm.raunvis.hi.is/~olympic/Trainer/train.html
>
> > Good luck, although i googled alot on this when i had this problem and
> > found no other solution.
>
> > NB: if you use flash plugin, it's not the same problem because then
> > you can control the rendering of the plugin with the wmode attribute.
> > (if i remember correctly)
>
> > best regards,
> > EirĂ­kur
>
> > On Dec 9, 5:29 pm, ka1n <leskap...@gmail.com> wrote:
>
> > > I have a PopupPanel that is supposed to appear above a Frame (e.g.
> > > iframe).  It normally works, but if the iframe contains a pdf (or
> > > presumably, anything the uses a plugin...flash, java, etc) then the
> > > PopupPanel gets buried.  I can fix it in DHTML by using an iframe
> > > shim, but it is turning out to be a bit difficult in GWT because the
> > > shim must be absolutely positioned.
>
> > > How can I work around this?
--~--~---------~--~----~------------~-------~--~----~
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