views:

206

answers:

0

There are a few posts on iFrames and back buttons, but no conclusive answers. Here's another try.

I have two iFrames on my page that load external content. (Yes, I understand the risks and complications with iFrames, but this is the only approach.) The site is similar to the Diggbar, only with two iFrames underneath instead of one.

Sometimes clicking the browser back button displays the previous page in an iFrame, and sometimes it doesn't. The desired behavior is for the back button to display the previous page, assuming one exists, in the most recently active iFrame.

How can I ensure the back button always displays the previous page in the iFrame?

Thanks!