I have a website which uses a scrolling div, whose height I wish to switch on load of the page based on the user's browser width. I have a javascript which works in a simple HTML page, but I want to...