I am using $(window).width() and $(window).height()
to get the width and height of the webview, but these always return me the same value and the real width and height of the entire webview.
What I need is to get the width and height of the view port the user currently seeing only so when zooming the width and height of the view port should become smaller.
I need this in order to center a div element within the View port the user seeing only.