Hi,
I have a web-app which requires resizing the browser window when
certain actions occur.
I have a JSNI function which goes like this:
public static native void resizeWindowTo(final int height,final int
width) /*-{
$wnd.alert(width);
$wnd.alert(height);
$wnd.resizeTo(width, height);
}-*/;
Now, I know that the function is executed as the alert do pop up (only
in hosted mode browser) but no resizing happens.
>From a lot of reading I understand that the hosted mode browser does
not support window.resizeTo but what did surprise me was when I
started my app in hosted mode and then entered the page from my IE
(like I do many times) no resizing happened and no alerts splashed on
the screen.
I tested my IE (v.8) with a simple html file which had a JS function
utilizing the resizeTo function and of course it worked perfectly
fine.
So now I'm not sure what can be done? On the one hand I get indication
from the hosted mode browser that the JSNI function is being called
but on the other hand the IE browser (which is the one I need to have
working) does not give any signs.
Does anyone have a clue? Please?
Ittai
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---