A fixed position is pretty problematic if the iframe has a large height value and the user is focused on the bottom of it (it will practically not show...). Is there a way to use the mouse postion?
Re: FB API - I used this one: http://code.google.com/p/gwtfb/ Thanks, Oren. On Feb 8, 11:03 am, Thomas Lefort <lefortho...@gmail.com> wrote: > This is an issue I never managed to solve in my FB apps, GWT or not. I > am not even sure it is possible in fact. Let alone the simple fact > that your iframe might be too far down the screen to even allow window > centering. What I ended up doing is position the window centered in > width and 100px down the iframe top. > Anyway, just curious, what library do you use for the FB API on the > client side? > > On Feb 7, 10:52 pm, Oren <oren...@gmail.com> wrote: > > > > > > > > > Hey, > > > I'm using GWT to write a simple FB canvas app. I noticed all my > > "centered" dialogs are way off in terms of vertical placement. Digging > > deeper I learned that Window.getClientHeight() returns the iframe > > height and not the visible area's height and thus the dialogs are not > > centered properly. > > > Does anyone know how I can overcome this issue and get my dialogs > > centered properly? Didn't find much about it browsing through the > > group discussions... > > > Thanks, > > Oren. -- 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.