Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q986 Why am I unable to use the scrollTo() and scrollBy() methods within a floating frame <IFRAME>?

You are here: irt.org | FAQ | JavaScript | Scroll | Q986 [ previous next ]

You should be able to. If you can use scrollTo() and scrollBy() in a normal frame/window, then you should be able to in a floating frame.

If however, you have coded SCROLLING="NO" in the IFRAME tag, then this is the same as specifying SCROLLING="NO" in a normal frame, with the result that neither scrollTo() or scrollBy() will work.

Scrolling has to be enabled for JavaScript to scroll a frame/window.

Feedback on 'Q986 Why am I unable to use the scrollTo() and scrollBy() methods within a floating frame <IFRAME>?'

©2018 Martin Webb