Is there a way to detect horizontal scrollbars? I guess that would be dynamic (requiring measuring the page versus the body's width perhaps?) Or is there a way to measure if a page's body width is greater then a static value (such as 800px)?
- John
garann
12:15 am on Aug 12, 2006 (gmt 0)
Hm. Could you create or use an element positioned to the right of everything else and get its offsetLeft property? I don't know of any way to actually check for the presence of scrollbars, but that might provide some clue...