You need to sign in to do that
Don't have an account?
NisseKnudsen
Retrieve actual Page size
Hello Community!
I got a problem, that I would like to solve, but I can't find information in the apex/vf guides.
I am using a javascript chart which size is set to fixed values, e.g. 800px. But I would like to resize it dynamically by retrieving information about the page size, for example
apexPages.currentPage.getSize();
Does anybody know how this could be done?
Thanks and Regards
Nisse
You'd have to do this client side in javascript I think. Unfortunately the mechanism varies between browsers.
There's information here on getting the window size : http://www.geekpedia.com/code100_Get-window-width-and-height.html