Microsoft KB Archive/274555

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

Article ID: 274555

Article Last Modified on 5/11/2006

-

APPLIES TO


 * Microsoft Internet Explorer 5.5

-



This article was previously published under Q274555



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



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.



RESOLUTION
To resolve this problem, set the NAVIGABLE attribute value to yes as follows: 



Steps to Reproduce Behavior
  Create a new HTML page, name the file with an .hta extension, and then paste the following code:       </FRAMESET>

</HTML> </li> <li> Create another HTML page named Test.htm that loads within the <FRAMESET> that is declared above: <HTML> <BODY> <A HREF=&quot;http://www.microsoft.com&quot; target=&quot;_top&quot;>http://www.microsoft.com</A> </BODY> </HTML> </li> <li>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.</li></ol>

<div class="references_section">