SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Active button

  1. #1
    SitePoint Member
    Join Date
    Feb 2008
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Active button

    Hi all,

    This is my first post on the SitePoint forum. I am new to javascript so forgive me for the N00b question...

    I have a menu on my site (still in development) and what I would like to do with JS is what when people click a menu item the button color changes its active state. So at the moment the menu I have is in black and the home page button background color is highlighted in red and what I would like is when someone clicks on the "About us" menu option the highlight color of that button changes to red and the home page menu returns to black. So it only shows you what page you are on.

    I have seen this done allot but I just cant figure out what to search for...

    Please let me know if I am not clear with my question...

    I hope someone can help, thanks in advance.

    John

  2. #2
    SitePoint Member
    Join Date
    Feb 2008
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anyone able to help???


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •