upload frames
-
Hi there I have a index.html file that contains 3 frames. I would like the header frame to update first, then the navigation bar frame and then the content. At the moment it seems like they are loading simuteonously?? and the "content" which is the smallest of the frames appears first. Is there a method to load the header frame, then the next etc. without slowing the upload process? tx
-
Hi there I have a index.html file that contains 3 frames. I would like the header frame to update first, then the navigation bar frame and then the content. At the moment it seems like they are loading simuteonously?? and the "content" which is the smallest of the frames appears first. Is there a method to load the header frame, then the next etc. without slowing the upload process? tx
ok dude..basically what you need to do is load the next frame from the previously loaded frame... so lets say that you a have a frameset composed of 3 frames.. something like: so you have frame1 through frame3. Notice that frame2 and frame3 have as a src a blank.html (I'll explain why in a bit). since you want that frame2 loads after frame1 does... you will place the following code in top.html (the file in frame1)
<!-- function MM_goToURL() { //v3.0 var i, args=MM_goToURL.arguments; document.MM_returnValue = false; for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'"); } //-->
you will do the same thing in left.html (the second frame)...but changing only the target frame and the file to load:<!-- function MM_goToURL() { //v3.0 var i, args=MM_goToURL.arguments; document.MM_returnValue = false; for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'"); } //-->
thats pretty much it. Keep in mind that every time you reload the site, the process will repeat itself. hope it works. luck, Jon x-zd Designs