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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem about html frame loading

Status
Not open for further replies.

dorothyw

Programmer
Jul 11, 2001
6
HK
I'd like to know if there's any way for me to load a frame completely before another frame start to load on the same html page.
 
If you load seperate pages into each frame, in the first frame put something like

onLoad="document.otherframename.location.href=pagename.htm"

should do it. That's the concept anyway. Steve Davis
hey.you@hahaha.com.au
 
thanks.. but still i have a question, even if i add this to the first frame(maybe an applet is embedded in this frame), the first frame may still load slower than the other one(just html text)..i wonder if the second frame should be started to loaded until the first frame is completely loaded...
 
Well, the question was how to load a frame after the first one was finished...that is easy.

If you add the code to the first frame, the second one will not start loading until the first one is finished - that's what onLoad does. If the first one is really slow you either have to put up with it or get rid of whatever is slow or let them do their own thing.

I am not sure if you can part-load a frame and then at a give point forcce-start loading the second one but I dont think you can.

Steve Davis
hey.you@hahaha.com.au
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top