How to detect if scrollbar is showing

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kristian

    #1

    How to detect if scrollbar is showing

    I'm including an application into a customer website using an iframe.
    Some of the pages have a scrollbar since their height expands the
    height of the iframe.

    My problem is, I need to resize the width of my layout if a page in
    the application uses a scrollbar, some of the pages show lists of
    search results so I do now know the pages the expand the iframe height
    up front.

    How can I detect if the scrollbars are showing inside me page?
  • kaeli

    #2
    Re: How to detect if scrollbar is showing

    In article <e591ebaa.04092 81058.74eaccce@ posting.google. com>, replace-this-
    with-my-name@detandetfi rma.dk enlightened us with...[color=blue]
    > I'm including an application into a customer website using an iframe.
    > Some of the pages have a scrollbar since their height expands the
    > height of the iframe.
    >
    > My problem is, I need to resize the width of my layout if a page in
    > the application uses a scrollbar,[/color]

    Then your page wasn't designed very well.
    Design it properly. Besides, what if the user increases the font size? That
    would then destroy your absolute widths as well.

    As to the actual question, I don't believe there IS a way to detect that in a
    cross-browser manner.

    --
    --
    ~kaeli~
    Why do they lock gas station bathrooms? Are they afraid
    someone will clean them?



    Comment

    Working...