|
I have a prob here. I would like the loading of frames in a particular sequence; eg the centre frame before the left frame. This is against the natural sequence of page load. Is there anyway I can set this?
|
|
|
I give a solution for this in this thread: http://www.codetoad.com/forum/15_20218.asp
This thread was IFRAME specific, but the exact same code ideas work for normal FRAMESETs.
Now if you want the center frame to load first, then left, then top, specify the center frame`s source in the frameset, but for the other frames, specify a blank page or just src="". If your left frame is named "left", then in your center frame`s LoadTrigger code, add this:
function LoadTrigger() {
top.left.location = "MyLeftPage.html";
}
window.onload = LoadTrigger;
You can add this same code to MyLeftPage.html to have it load the top frame.
Now..a possible problem is that everytime the left frame navigates, it will reload the top---but probably the only page that changes is the center frame. Depending on how you exactly want this to work, you may find you need to add code to first see if the other frame is already loaded--if so, don`t reload it.
Hope this helps.
|
|
|
|
|
|
|
|
|
|