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. Navigation Bars

Navigation Bars

Scheduled Pinned Locked Moved Web Development
questioncomdesign
3 Posts 3 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.
  • N Offline
    N Offline
    netx2003
    wrote on last edited by
    #1

    I am new to website design and I have a question. I see the websites like this one (codeproject.com) that they keep the top, left and bottom navigation bars the same from one page to the other. Almost all of this sites use ASP so I can not see the code because it is executed and I only see the final output. The way that I am doing that at this time is using frames or copying the code for the navigation bars in each page. Can any one tell me which is the best way (not the easiest way, but the best:omg:) to do this? SSI / ASP ???:confused:

    B P 2 Replies Last reply
    0
    • N netx2003

      I am new to website design and I have a question. I see the websites like this one (codeproject.com) that they keep the top, left and bottom navigation bars the same from one page to the other. Almost all of this sites use ASP so I can not see the code because it is executed and I only see the final output. The way that I am doing that at this time is using frames or copying the code for the navigation bars in each page. Can any one tell me which is the best way (not the easiest way, but the best:omg:) to do this? SSI / ASP ???:confused:

      B Offline
      B Offline
      brianwelsch
      wrote on last edited by
      #2

      Personally, I use a template HTML page, and read through it in a perl script, then when it finds the <!-- INSERT PAGE HERE --> line it dumps whatever info belongs on that page out, and resumes with the footer after that. Might not be the best, but it works for me.

      "The beat goes on.. da-da-dum dadum dum"

      BW

      1 Reply Last reply
      0
      • N netx2003

        I am new to website design and I have a question. I see the websites like this one (codeproject.com) that they keep the top, left and bottom navigation bars the same from one page to the other. Almost all of this sites use ASP so I can not see the code because it is executed and I only see the final output. The way that I am doing that at this time is using frames or copying the code for the navigation bars in each page. Can any one tell me which is the best way (not the easiest way, but the best:omg:) to do this? SSI / ASP ???:confused:

        P Offline
        P Offline
        Paul Watson
        wrote on last edited by
        #3

        You use include files to do this. So in your, lets say, default.asp page you will have that line of code where you want the contents of nav.asp to be inserted. You can then use it from multiple pages, one change to nav.asp will affect all the other pages. The include is inserted when the page is requested. regards, Paul Watson Bluegrass South Africa Marc Clifton wrote: "organically fed captivity free regurgitated bee nectar" (honey) on dieting. Crikey! ain't life grand?

        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