Yes! But i'm wondering how the get it before rendering the first page.
2007/1/3, Volker Weber <[EMAIL PROTECTED]>:
Here is the tobago code:
var clientDimension
= this.createInput("hidden", this.form.id + '-clientDimension');
clientDimension.value
= document.body.clientWidth + ";" + document.body.clientHeight;
this.form.appendChild(clientDimension);
Regards,
Volker
2007/1/3, Adrian Mitev <[EMAIL PROTECTED]>:
> I saw the tobago code. There they have a function for getting the
browser's
> resolution.
>
> 2007/1/3, Gilles Demarty <[EMAIL PROTECTED] >:
> > Hi adrian,
> >
> > a Css Solution :
> >
> > http://alistapart.com/articles/switchymclayout
> >
> > hope this help.
> > Not really related to myfaces, tough.
> >
> > Gilles
> >
> > 2007/1/3, Adrian Mitev <[EMAIL PROTECTED] >:
> > > Hi all! I want to get the width and height of the client brower and
show
> > > different css styles according to the size. Any suggestions how to
do
> it?
> >
>
>