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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:26:49+00:00 2026-06-11T11:26:49+00:00

I am trying to set up a content area where there are 3 button

  • 0

I am trying to set up a content area where there are 3 button choices. Based upon the button the user chooses, different content will slide into place. Depending upon which section they are under (which button was selected) the button will be a different color – white instead of orange.

Here is a link to the general idea of what I am trying to accomplish.
Your help is appreciated.

http://jsbin.com/epibab/2/edit

  • 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-11T11:26:50+00:00Added an answer on June 11, 2026 at 11:26 am

    jsBin demo

    HTML: removed all relevant IDs :

    <div id="hopperContentNav_ctr">
        <ul class="hopperTabs">
            <li><a href="#" class="active tab-1" >RECORD, WATCH, STORE&mdash;<br />IN ANY ROOM!</a></li>
            <li><a href="#" class="tab-2" >COMMERCIAL-FREE TV<br />IN PRIMETIME!</a></li>
            <li><a href="#" class="tab-3" >MOVIE MADNESS&mdash;<br />ANYTIME, ANYWHERE!</a></li>
        </ul>
    </div>
    

    And instead ID I added classes page:

    <div class="page">
        <p class="wholeHomeHead">Whole-Home-DVR</p>
                ........
    </div>
    

    jQuery:

    $(document).ready(function() {
        $('.page:gt(0)').hide(); // hide all pages but first one using :gt() selector
    
        $('.hopperTabs li').click(function(e){
            e.preventDefault();
            var thisInd = $(this).index();
            $('.page').stop().fadeTo(300,0,function(){
                $(this).hide();
                $('.page').eq(thisInd).stop().fadeTo(600,1);
            });             
        });
    });
    

    Sorry for not using the hide() and show() with slide… I’ll leave it to you. I had some issues and not used to use this jQuery UI.

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

Sidebar

Related Questions

I'm trying to set up my site so that content in the main area
I'm trying to set a condition that if the content of the SPAN with
Trying to set up a new project, and running into a weird issue. I
I'm trying to create flowing content using CSS columns, but I'm running into the
I'm trying to set the DataContext of several toggle buttons, each of which will
I'm trying to set up a web server that will support streaming video to
Im trying set the single table inheritance model type in a form. So i
Trying to set up a self signed certificate, for our intranet's web services site.
Trying to set it so if a certain condition is met then one of
Trying to set up a dependency in C++ with a parent-child relationship. The parent

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.