Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Browser Max
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00914560
Message ID:
00914695
Vues:
12
I have a related question, since I am a JavaScript newbie.

I've maximized the browser by assigning the following method to the onload event,

  top.window.moveTo(0,0);
  if (document.all) {
    top.window.resizeTo(screen.availWidth,screen.availHeight);
  }
  else if ((document.layers) || (document.getElementById)) {
    if ((top.window.outerHeight < screen.availHeight) ||
         (top.window.outerWidth < screen.availWidth)){
      top.window.outerHeight = screen.availHeight;
      top.window.outerWidth = screen.availWidth;
    }
  }


This doesn't actually maximize the browser, it only makes the window as big as possible without being actually maximized.

Is there a way to truly maximize a window in JavaScript?
David S. Alexander
Kettley Publishing
20271 SW Birch Street, 2nd Floor
Newport Beach, CA 92660-1752
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform