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 6952809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:23:48+00:00 2026-05-27T14:23:48+00:00

a couple of queries with jquery… I’m trying to create a tabbed panel, initially

  • 0

a couple of queries with jquery…

I’m trying to create a tabbed panel, initially I tried using jquery tabs ui but could not get it to exist with blueprint. Whenever I used a ‘span-xx’ class within the pane the whole structure seemed to break and the panes appeared outside of the tab area.

A bit if digging and I found the blueprint example from their site so got to work on that method instead. The jquery code appeared at the footer and I understand this is so it runs after the page is loaded? I tried moving it to the top but no joy. I also put it within a document.ready but still no joy – should I worry about this or leave it alone? Why does it not work within a document.ready??

    <script type="text/javascript">
        $("ul.tabs li.label").hide(); 
        $("#tab-set > div").hide(); 
        $("#tab-set > div").eq(0).show(); 


      $("ul.tabs a").bind('click hover', 

    function() { 
        $("ul.tabs a.selected").removeClass('selected'); 
        $("#tab-set > div").hide();
        $(""+$(this).attr("href")).fadeIn('slow'); 
        $(this).addClass('selected'); 
        return false; 
    }
  );

  $("#toggle-label").click( function() {
    $(".tabs li.label").toggle(); 
    return false; 
  }); 
    </script>

My main problem though is when I mouseover the tab it displays the panel most times but on other occasions I can get multiple instances of the same panel or indeed other panels. ANy reasons why?

summary:
Is there a way to get blueprint to play nice with jquery tabs ui?
Why is the code at the page bottom and can I get it to work from the top?
Why am I getting multiple instances of the panes?

<div id="tab-set" class="span-18 append-1">
      <ul class="tabs">
        <li><a href="#panel-1" class="selected">Full Membership</a></li>
        <li><a href="#panel-2">Associate</a></li>
        <li><a href="#panel-3">Cadets</a></li>
        <li><a href="#panel-4">Juniors</a></li>
        <li><a href="#panel-5">Corporate</a></li>
        <li><a href="#panel-6">Hotels</a></li>
      </ul>
<div id="panel-1>Content 1</div>
<div id="panel-2>Content 2</div>
  etc...
</div>

Thanks for the help

  • 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-27T14:23:49+00:00Added an answer on May 27, 2026 at 2:23 pm

    I think because your animation is not ready yet. try this:

    <script type="text/javascript">
        $("ul.tabs li.label").hide(); 
        $("#tab-set > div").hide(); 
        $("#tab-set > div").eq(0).show(); 
    
    
      $("ul.tabs a").bind('click hover', 
    
    function() { 
        $("ul.tabs a.selected").removeClass('selected'); 
        $("#tab-set > div").stop(true, false).hide(); // This stops the animation
        $(""+$(this).attr("href")).fadeIn('slow'); 
        $(this).addClass('selected'); 
        return false; 
    }
    );
    
    $("#toggle-label").click( function() {
      $(".tabs li.label").toggle(); 
      return false; 
    }); 
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using a LINQ to Entities, and I have a couple of queries for
I'm trying to create more robust MySQL Queries and learn in the process. Currently
I just created a couple of queries that bring the same data but in
I'm writing a web interface to MySQL that executes a couple queries and returns
I have a couple of LINQ to SQL queries that I feel take a
I am trying to lower the amount of queries that my django app is
I have a couple of queries for a web site that take a long
I had a couple of queries about the windows phone 7 launcher tasks, Specifically
i have a couple of linq queries which I wanted to join var IDs
I've been reading a couple of docs regarding postgres memory allocation configuration but need

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.