1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    3
    Vote Rating
    0
    pauloallonso is on a distinguished road

      0  

    Question is it possible to maximize the browser window without JSNI?

    is it possible to maximize the browser window without JSNI?


    I'm using this function to maximize the window:

    /**
    * Resize the principal window
    */
    public static native void resizeWindow() /*-{
    top.window.moveTo(0,0);
    top.window.resizeTo(screen.availWidth,screen.availHeight);
    }-*/;

    is it possible to maximize the browser window without JSNI ? How can I get the avail Width and Height of the screen ? I have tried to use window.getClientHeight() for example, but this didn't work...

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,731
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    Not that I know of – most well behaved web apps dont take over the screen for a variety of reasons, but building custom functionality not normally needed (or possible) in regular java is what jsni is for.

    Why do you not want to use JSNI for this?

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi