Results 1 to 4 of 4

Thread: Tab Content Script - Highlight Tab Only

  1. #1
    Join Date
    Dec 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Tab Content Script - Highlight Tab Only

    1) Tab Content Script

    2) http://www.dynamicdrive.com/dynamici...abcontent2.htm

    3) I'm trying to figure out how to highlight only the tab button when you click on it and not the entire tab, is this possible?

    Thanks

  2. #2
    Join Date
    Nov 2006
    Location
    IA
    Posts
    77
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by misfit949 View Post
    1) Tab Content Script

    2) http://www.dynamicdrive.com/dynamici...abcontent2.htm

    3) I'm trying to figure out how to highlight only the tab button when you click on it and not the entire tab, is this possible?

    Thanks
    I'm sure it is, though I have not been able to do this yet.

  3. #3
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Find the line:

    Code:
    aobject.style.backgroundColor=document.getElementById("tabcontentcontainer").style.backgroundColor=themecolor
    And change that to:

    Code:
    aobject.style.backgroundColor=themecolor
    That should do it.

  4. #4
    Join Date
    Dec 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    awesome! thanks alot, this is a great menu system!

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
  •