I have tried to put
<a href="page2.hta">Go Page 2</a>
inside a .hta file. However, it opens a browser when I click on the link.
Is it possible to make it open page2.hta within the same window?
I have tried to put
<a href="page2.hta">Go Page 2</a>
inside a .hta file. However, it opens a browser when I click on the link.
Is it possible to make it open page2.hta within the same window?
I think you need a target="_self" in the a href, or a <base target="_self"> in the header of the hta.
<a href="page2.hta" target="_self">Go Page 2</a>
_self renders the link in the current frame (useful for overriding a BASE TARGET)
If you're implementing a Wizard (or whatever), use the HTA Application as a wrapper around an IFRAME.
http://msdn.microsoft.com/en-us/library/ms536496(VS.85).aspx
When you want to flip between "pages", navigate that subframe rather than trying to navigate the .HTA itself.