Select the product you need help with
Internet Explorer 5.5 Reloads Page Instead of Scrolling When You Click an Anchor Targeting a Different FrameArticle ID: 274586 - View products that this article applies to. This article was previously published under Q274586 SYMPTOMS
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.
WORKAROUND
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:
Original page:
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. REFERENCES
For additional information, see the following Microsoft Web sites:
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_navigator.asp For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
(http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_navigator.asp)
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_event.asp
(http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_event.asp)
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/a.asp
(http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/a.asp)
http://msdn.microsoft.com/workshop/Author/dhtml/reference/methods/scrollIntoView.asp
(http://msdn.microsoft.com/workshop/Author/dhtml/reference/methods/scrollIntoView.asp)
http://msdn.microsoft.com/ie/
(http://msdn.microsoft.com/ie/)
http://support.microsoft.com/iep
(http://support.microsoft.com/iep)
PropertiesArticle ID: 274586 - Last Review: January 29, 2007 - Revision: 3.1 APPLIES TO
|



Back to the top








