tabbed menus....

Discussion in 'HTML & Website Design' started by tyguy, May 14, 2007.

Thread Status:
Not open for further replies.
  1. #1
    hello, i have a questions about tabbed menus. I am trying to do something like at this site everythingq.com - I am wondering what you do to have the tab be selected while your on that page. Like the tab of the page you are on is white and the others are black.... how do you do this?
     
    tyguy, May 14, 2007 IP
  2. fej

    fej Active Member

    Messages:
    827
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    98
    #2
    I've also been doing some research on that for a long time now. Any kind hearted guy who could share with us? :D
     
    fej, May 14, 2007 IP
  3. kkoder2007

    kkoder2007 Peon

    Messages:
    172
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    There are several ways of doing that.

    May be easiest way is to have separate pages with different tab colors. For example if it is home page, you write your html/css (for index.html) such that your home tab is of white color background, while all others are black,

    when you move mouse on a tab, change the background using javascript/css.

    If the user clicks on a tab, for example contact tab, your contact.html page should have html/css such that your contact tab should be white, while all other tabs with black background.

    best way to learn this is by studying a simple template which do this.

    you may find one at oswd.org :)

    hope this helps.
     
    kkoder2007, May 14, 2007 IP
Thread Status:
Not open for further replies.