Welcome Guest. Sign in or Signup


How to check if the scrollbars are currently visible?

Asked by: 12707 views
e) Advanced


Use the approach to determine if scrollbars are currently visible.

ScrollBar State Checking Sample


  1. srinivas on Jan 17, 2013 Reply

    is it possible to check content widht in iframe.

    • SiteManager on Jan 21, 2013 Reply

      Yes, it is possible to check the content width in iframe. The following fiddle will help you to get the width of the iframe content. Here is the Fiddle

  2. srinivas on Jan 21, 2013 Reply

    it it possible external website loading in iframe, and get the content width in iframe is possible.

  3. SiteManager on Jan 23, 2013 Reply

    To the best of my knowledge, security on servers prevents you from getting that kind of info when the file is on a different server. Therefore, scripts to resize the iframe will only work if the iframe and the file it contains are on the same server. If you ever find out otherwise.

  4. fishinglovers.net on Dec 18, 2014 Reply

    Muchos Gracias for your blog article.Much thanks again. Fantastic.

Comments on Question