ViewPort Size
Monday December 1, 2008
Even where different browsers put information in different places we can still use feature sensing to retrieve it from where it is put
Perhaps one of the most useful pieces of information about the browser that you can actually access via the Browser Object Model is the size of the browser's viewport. The viewport is the actual area available in which the web page gets displayed (the rest of the screen is taken up with fixed toolbars and the browser chrome even when the browser is maximised). In this tenth tutorial on the Browser Object Model we look at how we can retrieve this information even though browsers do not all store it in the same place.
ViewPort Size


Comments
No comments yet. Leave a Comment