1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How do you make a navigation bar like Google has?

Discussion in 'HTML & Website Design' started by LuckySamurai, Jun 13, 2013.

  1. #1
    Can someone tell me how do I make a navigation bar on top of every page and sub domain on my site? Google has this: You, Search, Images, Maps etc.
    I believe Blogger has a similar bar on top of blogs.

    Thanks.
     
    Solved! View solution.
    LuckySamurai, Jun 13, 2013 IP
  2. jamjar919

    jamjar919 Well-Known Member

    Messages:
    332
    Likes Received:
    7
    Best Answers:
    5
    Trophy Points:
    180
    #2
    Google uses PHP I believe. You could make a navigation bar that would appear on all pages by including a "navbar.php" file, and coding the navbar within that. This could be done using the line "include 'variables.php';" and putting it on every page. I'm not sure of the exact specifics so I would recommendasking the PHP forum about the exact code you need to do it.
     
    jamjar919, Jun 13, 2013 IP
  3. #3
    Last edited: Jun 13, 2013
    Revelations-Decoder, Jun 13, 2013 IP
    LuckySamurai likes this.
  4. LuckySamurai

    LuckySamurai Active Member

    Messages:
    163
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    88
    Digital Goods:
    1
    #4
    Awesome. Exactly what I wanted!
     
    LuckySamurai, Jun 13, 2013 IP