Load HTML frames in a specific order without back button problems?
Posted
by Joergen Bech
on Stack Overflow
See other posts from Stack Overflow
or by Joergen Bech
Published on 2008-11-14T11:46:59Z
Indexed on
2010/03/27
4:03 UTC
Read the original article
Hit count: 364
I have a web page that uses a frameset.
Due to scripting and object dependencies, I need to load the frames in a specific order.
I have used this example as a template: The JavaScript Source: Navigation: Frames Load Order
This loads an empty page in place of the page I need to load last, then replaces it with the correct page after the first page has loaded.
However: I also need to use the browser Back button. If you run the sample at the above link, let both frames load, then click the Back button, the top frame reverts to the temporary blank page. It is then necessary to click the Back button again to navigate to the page before the frameset.
Is there a way to force frames to load in a specific order without this Back button behavior - or a way to force the Back button to skip the empty page?
This needs to work with Internet Explorer 6 and 7 and preferably with Firefox 3 as well.
© Stack Overflow or respective owner