In Safari, if you use screen.height for window.open it gives height with title bar. but not ii IE and firefox. Is there any other paramater for safari height without title bar? Please give me a solution. Regards, Mohamed. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
ani wrote:> In Safari, if you use screen.height for window.open it gives height > with title bar. but not ii IE and firefox. > > Is there any other paramater for safari height without title bar? > > Please give me a solution. > > Regards, > > MohamedThe W3C standard for the viewport height and width is window.innerHeight and .innerWidth. IE uses (window.document.documentElement || window.document.body).clientHeight and .clientWidth; See http://www.quirksmode.org/viewport/compatibility.html Ken Snyder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---