Article ID: 274586 - View products that this article applies to.
This article was previously published under Q274586
This article has been archived. It is offered "as is" and will no longer be updated.
Internet Explorer 5.5 may reload a page instead of scrolling when you click an anchor that targets a different frame. For example, assume that you have a Web page that contains two frames: an upper frame and a lower frame. The upper frame contains several hyperlinks that point to the anchors in the lower frame. When you click the hyperlinks in the upper frame, the lower frame is reloaded instead of being scrolled (as in earlier versions of Internet Explorer). If the lower frame captures the "onload" event to perform initialization, the problem is magnified.
To work around this behavior, the Web page author can modify the upper frame by replacing the typical hyperlink with "anchor.scrollIntoView". The following sample page demonstrates this method:
Or, with a frameset declared as:
The left frame could navigate to an anchor by using the following code:
This script code functions as follows:
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
For additional information, see the following Microsoft Web sites:
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_navigator.aspFor more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
Article ID: 274586 - Last Review: October 21, 2013 - Revision: 3.1
Contact us for more help
Connect with Answer Desk for expert help.