J
Jarrod
Hi all,
I have a bit of a problem.
I have several iframes in a page which load successively after the parent
page loads. The idea was to load all my javascript objects and data THEN
load the pages that need the data after that. It works fine the on the first
load, but when you refresh or navigate back then forward, all of the frames
and main page seem to loading at once, which causes an error because the
iframes are trying to access data that essentially doesn't exist yet. I have
tried things like checking for the data and relocating if it doesn't exist,
but that then puts the page in the history.
What I want to happen is for the main page to reload/refresh as it would the
first time. It there a way to "turn off" the frame or something (sorry that
is stupid terminology, but...well you know.)
Also, something that might be linked. I have put alerts in some of the pages
and they seem to be getting loaded more than once. I don't quite get what is
happening, but I think that the fundamental problem is that I don't
understand how the loading of frames work.
Any help would be appreciated,
Jarrod
I have a bit of a problem.
I have several iframes in a page which load successively after the parent
page loads. The idea was to load all my javascript objects and data THEN
load the pages that need the data after that. It works fine the on the first
load, but when you refresh or navigate back then forward, all of the frames
and main page seem to loading at once, which causes an error because the
iframes are trying to access data that essentially doesn't exist yet. I have
tried things like checking for the data and relocating if it doesn't exist,
but that then puts the page in the history.
What I want to happen is for the main page to reload/refresh as it would the
first time. It there a way to "turn off" the frame or something (sorry that
is stupid terminology, but...well you know.)
Also, something that might be linked. I have put alerts in some of the pages
and they seem to be getting loaded more than once. I don't quite get what is
happening, but I think that the fundamental problem is that I don't
understand how the loading of frames work.
Any help would be appreciated,
Jarrod