Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cancelling the OnResize event
Message
De
18/01/2012 09:02:42
 
 
À
18/01/2012 08:45:00
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01533040
Message ID:
01533187
Vues:
31
J'aime (1)
>But, the only problem with that is the following. This is why I avoided to use it. I wanted to restrain the resizing under 1256 pixels, assuming the body.client area was that size. But, if the window would have been smaller at first, this would restrain the user, or lock the environment at 1000 pixels for example, blocking the user from the possibility to resize back to a higher width.

Did you consider CSS properties min|max-width?
http://www.w3.org/TR/CSS21/visudet.html#propdef-min-width

Major browsers should support it
http://www.webdevout.net/browser-support-css

You can change it by JavaScript, e.g. document.body.style.minWidth
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform