Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

PRB: NAVIGABLE Attribute Changes Behavior of Linked Document in HTML Applications


View products that this article applies to.

This article was previously published under Q274555

↑ Back to the top


Symptoms

Existing HTML Applications (HTAs) that have defined <FRAMESET> elements may behave differently in Internet Explorer version 5.5 than in earlier versions. For example, if you have an <A> element with a target Property = "_Top", when you click the link, a new browser window opens even though the HTA is the top window.

↑ Back to the top


Cause

Internet Explorer 5.5 introduces the navigable property to give more flexibility to developers. This property sets or retrieves whether linked documents are loaded in the main HTA window or in a new browser window. The default value of this property is set to no, which opens a new browser window.

↑ Back to the top


Resolution

To resolve this problem, set the NAVIGABLE attribute value to yes as follows:
<HTA:APPLICATION ID="oHTA" NAVIGABLE="yes"/>
				

↑ Back to the top


More information

Steps to Reproduce Behavior

1.Create a new HTML page, name the file with an .hta extension, and then paste the following code:
<HTML>
 <HEAD>
  <HTA:APPLICATION ID="oHTA"/>
 </HEAD>
	
	<FRAMESET>
		<FRAME SRC="test.htm" application="yes">
	</FRAMESET>

</HTML>
					
2.Create another HTML page named Test.htm that loads within the <FRAMESET> that is declared above:
<HTML>
 <BODY>
   <A HREF="http://www.microsoft.com" target="_top">http://www.microsoft.com</A>
 </BODY>
</HTML>
					
3.In Internet Explorer 5 or 5.01, view the HTA. Click the link, and the Web site opens within the HTA. In Internet Explorer 5.5, when you click the link, a new Internet Explorer window displays the Web site.

↑ Back to the top


References

For more information on the NAVIGABLE attribute and navigable property, see the following article on the Microsoft Developer Network (MSDN): For more information on HTAs, see the following MSDN article: For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:

↑ Back to the top


Keywords: KB274555, kbprb, kbnavigation, kbdhtml

↑ Back to the top

Article Info
Article ID : 274555
Revision : 5
Created on : 5/11/2006
Published on : 5/11/2006
Exists online : False
Views : 305