[Proto-Scripty] document.viewport IE in Quirks mode

2013-02-06 Thread kstubs
When I do this: document.viewport.getDimensions() I get 0 for height and 0 for width if the IE browser is in Quirks mode. This may or may not be a bug, I get that. So my question is: Can you determine through javascript what the browser mode is? If Browser Is Quirky .. sound the

Re: [Proto-Scripty] document.viewport IE in Quirks mode

2013-02-06 Thread Jason Westbrook
Try this http://stackoverflow.com/questions/623047/how-to-detect-render-mode-of-browser-for-current-page Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Wed, Feb 6, 2013 at 7:50 AM, kstubs kst...@gmail.com wrote: When I do this: document.viewport.getDimensions() I get 0 for