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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T08:28:05+00:00 2026-06-06T08:28:05+00:00

I am trying to control tabs with a next/previous options. This is my JSFIDDLE

  • 0

I am trying to control tabs with a next/previous options. This is my JSFIDDLE EXAMPLE. I have spent hours researching and found the method NEXT/PREVIOUS function in this WEBSITE. I have replicated everything in my example but i am not getting any results. Can someone look at my EXAMPLE and tell me what I am doing wrong?

NEXT/PREVIOUS jquery/js

<script>
$(document).ready(function() {
    var $tabs = $('#st_horizontal').tabs();
    $(".st_tab_view").each(function(i) {
        var totalSize = $(".st_tab_view").size() - 1;
        if (i != totalSize) {
            next = i + 2;
            $(this).append("<a href='#' class='next-tab mover' rel='" + next + "'>Next Page &#187;</a>");
        }
        if (i != 0) {
            prev = i;
            $(this).append("<a href='#' class='prev-tab mover' rel='" + prev + "'>&#171; Prev Page</a>");
        }
    });
    $('.next-tab, .prev-tab').click(function() {
        $tabs.tabs('select', $(this).attr("rel"));
        return false;
    });
});
</script>
  • 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-06T08:28:06+00:00Added an answer on June 6, 2026 at 8:28 am

    First, you have to include the jQuery UI JS library to use jQuery UI Tabs. I edited your fiddle to include that and I got the next button displayed – http://jsfiddle.net/100thGear/kFNtX/3/

    Second, you are combining two tabs plugins together on the same DOM element (sliding tabs and jQuery UI tabs) – then you are trying to programmatically traverse them using the jQuery UI way. I don’t think this will work very well. You need to choose one plugin to use.

    Third, the sliding tabs plugin already provides you next and prev buttons. So I would suggest use the next/previous functions from the website you referred above only with jQuery UI tabs.

    Hope this helps!

    Update: This fiddle – http://jsfiddle.net/100thGear/PS336/ – demonstrates how the next/prev functionality can be achieved with Sliding Tabs.

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

Sidebar

Related Questions

I am trying to control tabs through a next/previous function. I am using a
I'm trying to enable tabs functionality in the WebBrowser control. I have a TabControl
I have two divs named arrow and inner. I am trying to control the
I've been trying to use http://livepipe.net/control/tabs to get some javascript tabs up and running
Background: I'm trying to implement a tab control. The tabs are as follows: |
I'm trying to do the following thing: I have a TabControl with several tabs.
I'm trying to get the text from a tab control like this: TCITEM itm;
I am trying to control HTML5 videos using JQuery. I have two clips in
I'm trying to control the keystroke from kinect. For example, when my right hand
Im trying to use Jquerys.tabs control. I dont see the logic. If i use

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.