Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Highlight selected tab

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36857
    sagy_1991
    Member

    I am using tabbed navigation using jquery.I have used this tutorial from “css-tricks”.But I want to modify this code so that I can highlight active tab.I have coded click event of anchor tag, but it is not working.Please help me, Thanks in advance.
    anchor tag click event code added by me is:

    		$("div.hoverBtn").children("a").click(function(){
    $(this).parent().children("div")
    .stop()
    .css({"display": "block", "opacity": "1"})
    .fadeIn("fast");
    });
    #97528
    sagy_1991
    Member

    thank u karlpcrowley and schart.That worked perfectly.

    #98535
    juliane
    Member

    sagy_1991, can you post the code here please? i’m trying to highlight a tab that links to the same page (top, middle, bottom). but i can’t get to work.

    thanks in advance.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Other’ is closed to new topics and replies.