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

  • Home
  • SEARCH
  • 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 6353985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T22:30:13+00:00 2026-05-24T22:30:13+00:00

In response to my last question here: Jquery to detect identical class and text

  • 0

In response to my last question here:

Jquery to detect identical class and text for tab navi

I have a got it succesfully working in all browsers except IE 7. IE 8,9 FF 5,6 Safari and Chrome all can implement my code correctly except ie7.

Anyone suggestions?

Fiddle
http://jsfiddle.net/arkjoseph/3FrDY/

  • 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-05-24T22:30:14+00:00Added an answer on May 24, 2026 at 10:30 pm

    DEMO

    $("ul.nav li").click(function() {
        var i = $(this).index();
        $(".slideMove .slide").fadeOut("slow");
        $('.slideMove .slide:eq('+i+')').fadeIn('slow');
    });
    

    I think you are complicating something that can be very simple.

    If you have (for example) three navigations:

    li
    li
    li

    and the three tabs:

    tab
    tab
    tab

    The easiest way is to grab the index number of the ‘action button li’ that will trigger the ‘tab’ with SAME index using the jQuery’s :eq() selector.

    • Doing so – you prevent code brakes due to (always possible) editor typo.

    jQuery API Docs:
    :eq()
    .index()

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

Sidebar

Related Questions

I attempted to open a Java bug last Halloween. I immediately got a response
Based on the response to this question: Why does C++ have header files and
I asked a similar question last week and didn't get a very good response,
I have a question concerning my last post But I think at first I
A response on SO got me thinking, does JavaScript guarantee a certain endian encoding
In @mmalc's response to this question he states that In general you should not
I'm using JQuery UI's autocomplete widget and would like to have access to the
This is related to this question here, but with a slight twist: instead of
The response body of HTTP requests using the native 'http' module, displays question mark
I modified the extension method Thorarin gave in response to this question to work

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.