If you want to know how much room you have to display, you can also use .innerWidth/Height and .clientWidth/Height
Ok thank you Rick
You can check the window width and make an Ajax call to send that information to the server:
<script type="text/javascript">
var width = $(window).width();
var height = $(window).height();
$.get("BrowserDimensions.wwt",{ width: width, height: height });
</script>
Then on the server:
FUNCTION BrowserDimensions
lnWidth = val(Request.QueryString("width"))
lnHeight = val(Request.QueryString("height"))
ENDFUNC
Keep in mind that this is Asynchronous - so you have to render the initial page to get this information. You get the width and height after the initial page has rendered.
Also if you are already using AJAX callbacks or using a few of them in your page it's better to use a real callback handler.
wcdocs:_1wu1b8jkq.htm
Hope this helps,
+++ Rick ---
Hello,
Is it possible to know the resolution of client browser
Thank you in advance
Michel