Re: HTML Applicaitons and frame history

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I haven't seen your code, but I am guessing that because when using frames
you aren't actually going to another page, you are simply changing the src
attribute of the frame tag. In order to use the browser's back and forward
button, you must actually go to a different URL. The best workaround is to
create prev/next buttons on your page that use Javascript to determine what
the frame tag's src should be when clicked. Good luck!
--
Nathan Sokalski
njsokalski@xxxxxxxxxxx
http://www.nathansokalski.com/

"Morgan" <Morgan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E63F4166-945E-4BDF-A169-B5214D1D3528@xxxxxxxxxxxxxxxx
>I am trying to use an HTA as an interface to an external verdor's site and
>I
> am running into issues. I would like to have back and forward navigation
> buttons, but the frames don't seem to be keeping a history like they do in
> full IE.
>
> I have seen the example that uses back buttons in IE 5 HTAs at
> http://www.microsoft.com/mind/0799/htmlapps/htmlapps.asp, but this doesn't
> seem to work in IE 6. When I do a right click in a HTA frame back and
> forward are greyed out and when I debug the app the
> parent.whateverframe.history.length is always 0. Anyone know of a switch
> I
> am missing or was this an intended behavioral change?


.


Quantcast