Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refresh button and multi-framed pages

Status
Not open for further replies.

gazzeruk

Programmer
Aug 19, 2003
21
0
0
GB
Hi,

I've got 3 frames which when loaded in correct order i.e. top down to 3rd frame work just fine. The lower frames call methods in parent frames - so the parent frames have to be there for this. However when I click the browser refresh - the frames seem to load ad-hoc or maybe from lowest (focussed) frame up - causing crash as this is trying to run methods in parent frame thats not yet loaded!!!!

Anyone know how to:

1) disable the browser refresh button programatically?
2) OR catch this as an event somewhere?
3) OR test the loading state of a frame i.e. is it empty, loading or loaded?

I can probably fix above by replacing frames with iframes - but only want to do this if no other solution...

Thanks,

Gary
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top