Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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

irt.org | Knowledge Base | JavaScript | Scroll | Q986 [ previous next ]

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

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>?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.