Navbar with out frames

Discussion in 'HTML & Website Design' started by bgjyd834, Apr 26, 2011.

  1. #1
    Hi, sorry if this is something that has already been answered but I'm trying to make a site that had a standard navbar on every page, however when ever I want to change the navbar I have to copy the new code to each and every page on the site. How can I do this so that I only need to update the code in one place?

    I did a course in web design years ago and in that I used frames to achieve this however it's my understanding that frames are now depreciated and so there must be another way to do this? I know you can link to javascript that is stored in another file as well as have your css as a separate file, is it possible to do this with HTML and if so is that the easiest way to do it?

    I know I have posted in the HTML section but I'm also trying to learn PHP at the moment (which is largely what the site if for) so if there is a solution involving PHP that that's welcome too, doesn't have to be a HTML solution, I just presumed that there would be an easy way to do it with HTML alone.
     
    bgjyd834, Apr 26, 2011 IP
  2. Podnimator

    Podnimator Peon

    Messages:
    29
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Use the menu on JavaScript, and integrate it from file .js, where you constuct all structure. But Google not loved this menu.
     
    Podnimator, Apr 26, 2011 IP