Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8885801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T21:24:00+00:00 2026-06-14T21:24:00+00:00

Hi People am encountering a problem using jquery tools tabs [http://jquerytools.org/documentation/tabs/index.html][1] I have the

  • 0

Hi People am encountering a problem using jquery tools tabs
[http://jquerytools.org/documentation/tabs/index.html][1]

I have the tabs all set-up so that they have the correct hover, active, visited, link states

jQuery tools applies the .current class to the currently selected tab.

when i look in firebug the current tab indeed has the class current, but its seeming to continue to use the psuedo classes and not the current class i have defined for it.

my css code is:
HTML:

<div id="TMSEMenu">


    <ul id="TMSEtabs">
        <ul id="TMSEtabs">
            <li><a href="#Home">Home</a></li>
            <li><a href="#Together">Together</a></li>
            <li><a href="#Make">Make</a></li>
            <li><a href="#Share">Share</a></li>
            <li><a href="#Experience">Experience</a></li>
        </ul>
    </div>

my css is:

ul#TMSEtabs {
  cursor: default;
  list-style-type: none;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  z-index:5000;
}
ul#TMSEtabs ul {
  cursor: default;
  list-style-type: none;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
}
ul#TMSEtabs ul li {
  background-image: none;
  float: none;
}
ul#TMSEtabs li {
  background-image: none;
  float: left;
  padding: 0 0 0 0;
  position: relative;
  white-space: nowrap;
  z-index: 100;
}
ul#TMSEtabs li ul {
  display: none;
  top: 0;
}
ul#TMSEtabs li:hover > ul {
  display: block;
  position: absolute;
}

ul#TMSEtabs li.hover > ul {
  display: block;
  position: absolute;
}

ul#TMSEtabs li.current > ul {
  position: absolute;
}
ul#TMSEtabs > li {
  background-image: none;
}
/* currently selected tabs */
ul#TMSEtabs .current a:link{
    background-color: #FFFFFF;
    color: #FFDD38;
    font-weight: normal;
    text-decoration: none;
    outline-style: none;
}
ul#TMSEtabs a:link {
    background-color: #FFFFFF;
    background-image: none;
    color: #BC1F5D;
    display: block;
    font: normal normal bold 14px Arial, Helvetica, sans-serif;
    height: auto;
    line-height: normal;
    margin: 0 0 0 50px;
    padding: 0px 5px 0px 5px;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    width: auto;
    outline-style: none;
}
ul#TMSEtabs a:visited {
    background-color: #FFFFFF;
    color: #BC1F5D;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: bold;
    line-height: normal;
    text-align: left;
    text-transform: capitalize;
    outline-style: none;
}
ul#TMSEtabs a:hover{
    background-color: #FFFFFF;
    color: #FECC38;
    font: normal normal bold 14px Arial, Helvetica, sans-serif;
    line-height: normal;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    outline-style: none;
}
ul#TMSEtabs a:active{
    background-color: #FFFFFF;
    color: #FECC38;
    font: normal normal bold 14px Arial, Helvetica, sans-serif;
    line-height: normal;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    outline-style: none;
}

my js is:

// tabs

  $("#TMSEtabs").tabs("#tabPanes > div", {
      event: 'click',
      effect: 'dizzySlide',
      rotate: true,
      current: 'çurrent'
  });
  var w;
  $.tools.tabs.addEffect("dizzySlide", function(i, done) {

        // store original width of a pane into memory
        if (!w) { w = this.getPanes().eq(0).width(); }

        // set current pane's width to zero
        this.getCurrentPane().animate({width: 0},1000, function() { $(this).hide(); });

        // grow opened pane to it's original width
        this.getPanes().eq(i).animate({width: w},1000, function() { 
            $(this).show();
            done.call();
        });

    }); 
  var api = $("#TMSEtabs").data("tabs");
    $('#nextTab').click(function() {
        api.next();
    });
    $('#prevTab').click(function() {
        api.prev();
    });

My page can be found here:
[JSFiddle][2]

UPDATE:

I’ve made changes as in the answer below.

Only way i can get the .current class to show is to remove the :visited and :active states as well

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T21:24:02+00:00Added an answer on June 14, 2026 at 9:24 pm

    Addressing the problem is straightforward and requires a little research into CSS rules ranking. You can find plenty of research resources about CSS ranking in a quick google search.

    Unfortunately a:link has an extremely high ranking… I hate using it just for that reason.

    To over ride you will need to add extra selectors to the tabs rules like changing:

    .tabsClass a.current{ /* properties*/}/* class made up for example only*/
    

    To

    .tabsClass a.current, .tabsClass a:link.current { /* properties*/}
    

    Or simply adding extra rules for .tabsClass a:link.current that include all the properties that match the plugin css rule and over ride the a:link current property you want changed

    Use a browser console to inspect rules ranking will help, and you can edit rules within console to improve specificity and ranking

    EDIT: Simpler solution is get rid of :link in your css

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

people. I have slight problem with GD2 text on image. I have everything working
People create their own websites using WYSIWYG creator i give them. These websites have
People get to the results page via a form they have submitted. Via Jquery
People familiar with Homographies will know that you have to normalize it dividing by
People have been able to build PCRE (or a subset of) by copying the
people. For a academic exercise i have to implement a program in c for
People use void main() /*empty parens ()*/ I have been taught to write void
people. I hope you can help me. In our development process we have a
People says that libraries shouldn't have configuration files. I can't pass arguments to my
People have been saying so many good words for HTML5, but one of my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.