Hi,I am looking for a functionality to let the website be on a default view port, when landed. like whatever the screen size is. when someone come to website,they should see specific target area. is there any way?

markbrown4
—
2012-09-04T08:19:57Z —
#2

You want to resize the window?

No, there isn't a way because it's was abused for a long time and removed from browsers like Firefox.

You can use document.documentElement.clientHeight and document.documentElement.clientWidth to get the size of the window. But, there's no way to set the browser for all browsers.