Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cancelling the OnResize event
Message
From
18/01/2012 09:02:42
 
 
To
18/01/2012 08:45:00
General information
Forum:
Javascript
Category:
Other
Miscellaneous
Thread ID:
01533040
Message ID:
01533187
Views:
30
Likes (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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform