headers/banners

Discussion in 'HTML & Website Design' started by budj, Apr 29, 2009.

  1. #1
    Hi All,

    I'm a total noob in this so please bare with my question. I'm building a website where the header/banner (where the image and the home, about us, contact, etc buttons are) are static in all pages. Is there anyway where I can make separate and just call in all the succeeding pages i make? is there even such thing? I only use html, php, javascripts. Is it even possible for just these technologies? If not can someone point me out to the right direction? help? please? :)

    Thanks guys.. :)
     
    budj, Apr 29, 2009 IP
  2. hkmike

    hkmike Peon

    Messages:
    38
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'm a bit unclear about what you want, but it seems like u want the header and links of you're website to be on only one page, and then have the other pages load up inside the page. If so, then frames or iframes can be used to do so, but in my opinion, that's bad website design.
     
    hkmike, Apr 29, 2009 IP
  3. budj

    budj Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    hmmm.. for example the menu on top of the page which is the navigation bar (if that is the right term for that) appears on all the pages, is it a better idea to re-code or copy paste it to every new page i add? or is there a way to make it sort of like modular where i just call it on the new pages i make? bad idea?
     
    budj, Apr 29, 2009 IP
  4. hkmike

    hkmike Peon

    Messages:
    38
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Well you can certainly use iframe or frames to accomplish this. iframes are like a window inside the webpage which can load other websites. A frame splits the website into a top website and a bottom (or left and right). Anyway, check out this link if you want to learn more. If you're still confused I can help you get some basic coding done.

    http://www.w3schools.com/html/html_frames.asp
     
    hkmike, Apr 29, 2009 IP
  5. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #5
    You could use php includes, so you can then include the header, menu, footer etc into the pages.
     
    pipes, May 25, 2009 IP
  6. basher-stm

    basher-stm Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    yes, have a process that is you can make a template with the HTML which contain only header banner and navigation footer that means common part then you can call that template is page from template.you can just add additional thing on another page.
    automatically page will complete.....................

    bye
    basher
     
    basher-stm, May 25, 2009 IP