Hi all,

thanks for the insight. I am wondering if ClientDocument could
return something meaningful. Maybe the values from qx.dom.Window
width/height and zero for top/left?

Cheers
Rüdiger


Rüdiger Herrmann wrote:
> Hi all,
> 
> I tried to figure out the size of the client area
> of the browser window.
>  From what I understand the qx.ui.core.ClientDocument
> should provide this. But I was told wrong, the width
> ad height is null.
> Here is a code snippet that shows how I tried to
> figure out the size:
> 
>    qx.core.Init.getInstance().defineMain(function()
>    {
>      var doc = qx.ui.core.ClientDocument.getInstance();
>      alert(   "width: " + doc.getWidth()
>             + " height: " + doc.getHeight() );
>    } );
> 
> 
> Can anyone tell me what's wrong?
> 
> I am still using version 0.6, but tweaking one of the
> samples from http://demo.qooxdoo.org/sample/html/example
> showed the same behaviour.
> 
> Thanks in advance
> Rüdiger
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to