On Monday 17 August 2009, Hemant Bhargava wrote:
> yeah, I know abt it.
> we can know height and width from clientHeight and clientWidth ..
> correct ..
>
> Bt d'nt know how to go further.. Newayz .. Thanks for ur reply ..
>
> Rails List wrote:
> > Using javascript you can get the height and width of the client
> > machine. Use it to render various versions of your page.

Here's how I've done a thing like that in the past

http://www.schuerig.de/michael/blog/index.php/2007/02/22/size-dependent-
layout/

HTH,
Michael

-- 
Michael Schuerig
mailto:[email protected]
http://www.schuerig.de/michael/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to