Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. upload frames

upload frames

Scheduled Pinned Locked Moved Web Development
htmldatabasequestionannouncement
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Brakanjan
    wrote on last edited by
    #1

    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

    J 1 Reply Last reply
    0
    • B Brakanjan

      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

      J Offline
      J Offline
      Jonavis
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups