javascript - Good way to estimate available browser area -


I'm trying to figure out the best way to estimate the maximum size of the browser viewable area. I.e. screen dimensions, less toolbars, bookmarks, etc. Obviously this will not be right for cases when the window is not maximized and due to the fact that people actually use different browsers - I'm just looking for a good estimate here.

You have to understand the maximum size for an image. Anything can use the width () function: $ (window). Width () . However keep in mind that if the window is resized, it will change and will probably close the layout which was originally based. You can do it, but if you are doing complex things, then this can spoil the performance.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -