Get screen size include the source code panel/ debug panel using jquery
<pre><code>$(window).height();
$(window).width();
</code></pre>

<p>Currently I am using these two codes to get the screen size,However, if the source code panel/debug panel is on. The size of the screen will exclude, how to include the source code bar in the screen size result? Thanks. </p>

<p>Also, is there anyway to get the actual screen resolution of the user screen? (in case the user is not maximize the browser). Thanks</p>
