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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:00:54+00:00 2026-05-23T09:00:54+00:00

I am trying to position links to jQuery Tabs under the tab content, with

  • 0

I am trying to position links to jQuery Tabs under the tab content, with the tabs navigation in its own DIV (for styling purposes). Here is my markup:

    <div id="fpTabs">
  <div id="fpTab-1">
    <p>This is the first tab</p>
  </div>
  <div id="fpTab-2">
    <p>This is the second tab...</p>
  </div>
  <div id="fpTab-3">
    <p>This is the third tab.. </p>
  </div>
</div>
<div id="fpTabs-nav">
   <ul>
      <li><a href="#fpTab-1">Tab 1</a></li>
      <li><a href="#fpTab-2">Tab 2</a></li>
      <li><a href="#fpTab-3">Tab 3</a></li>
   </ul>
</div>

How would I go about activating Tabs using the ul in #fpTabs-nav for navigation?

Thanks!

  • 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-23T09:00:56+00:00Added an answer on May 23, 2026 at 9:00 am

    You can use this to select a specific tab programmatically

    var $tabs = $("#fpTabs").tabs();
    $tabs.tabs('select',1); // will select the 2nd tab, index is 0-based
    

    So it would be something like:

    $("#fpTabs-nav ul li").click(function() {
       $tabs.tabs('select', $(this).index());
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I call jquery function onclick at links. For example: <a class=active href=# onClick=Animate2id('#box1'); >Content
Not much good in jQuery/javascript but trying to create a small game. here is
Trying to make a simple jquery drop down here, here's my code so far:
I'm trying to 'hightlight' a specific div. Here is my html code <!DOCTYPE html>
I am trying to position a gradient over an inline / inline-block anchor link,
I'm trying to position a button. I want it to be above the Gå
I am trying to implement position-sensitive zooming inside a JScrollPane . The JScrollPane contains
im trying to locate the position of the minimum value in a vector, using
I am trying to synchronize the horizontal scroll position of 2 WPF DataGrid controls.
I'm trying to determine the window position of an application. I know SetWindowPos() would

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.