Browser Window Size and Position
3. Obtain the Script
Join the Discussion
More of this Feature
Related Articles
To be able to determine the available space within the browser window and the current position of that window within the current web page, you need to copy the following script and attach it to the head section of your page.
Once you have created your code you just save it to an external javascript file. I called mine getscreen.js. You then link it into the head of your page using the following code:
</script>
Now all that remains is to use the functions in your Javascripts.

