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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:51:53+00:00 2026-05-22T01:51:53+00:00

I want to create a navigation of text but rather than using serverside i

  • 0

I want to create a navigation of text but rather than using serverside i want to use jquery and just write out the content once.

see sample image ….Sample nav

The nav bars will be the arrows at the bottom. If you get to the end turn the arrow to white or if you’re starting make the left arrow white.

Any help will be appreciated

  • 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-22T01:51:54+00:00Added an answer on May 22, 2026 at 1:51 am

    Your jQuery solution will depend on how you want the navigation to work. Do you want to replace the text? Do you want to scroll between items? There isn’t much to work with here…

    But, to get you started here is a “duck-tape” way of doing it… (Note: This is a not-pretty ‘getting started’ way of doing it, so plan to research better solutions down the line.)

    var current = '1';
    $('.navR').click(function (e) {  //When user clicks on the Right nav button...
        if (current == '1') { // If you are going to the first bit of new content...
            $('#content').replaceWith("<div id='content'>Your First Content Here...</div>");  //Replace the content with...
            current++;
                $('.navR').css('color','red'); // Make the Right arrow red when more content is left
    
        } else if (current == '2'){ // If you are going to the second bit of new content ....
            $('#content').replaceWith("<div id='content'>Your Second Content Here...</div>"); // Replace the content with....
            current++;
                $('.navR').css('color','white'); // Turn arrow White on last item
        };
    
    });
    

    And then reverse it for the left.

    $('.navL').click(function (e) {
        if (current == '2') {
            $('#content').replaceWith("<div id='content'>Your First Content Here...</div>");
            current--;
                $('.navL').css('color','red'); 
    
        } else if (current == '1'){
            $('#content').replaceWith("<div id='content'>Your Second Content Here...</div>");
            current--;
                $('.navL').css('color','white'); 
        };
    
    });
    

    Again, this is a painfully simple and clumsy way of doing it, but maybe it will get you started…

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

Sidebar

Related Questions

I want to create multilevel accordion Navigation using jQuery , I tried using this
I want to create a navigation application but can't found any icons/symbols that suitable
Using Zend, I want to create a navigation like: <ul class=navigation> <li> <a href=/coupon/index/all></a>
I want to create my own hierarchical navigation menu control without using standart ASP.NET
I want to create a Java application bundle for Mac without using Mac. According
I need to create a sharp gradient for both the header and navigation text
I want to create a navigation bar that cna be used on every page.
I want to create a 'detail view' in my navigation-based app similar to the
I've made a drop down navigation using Jquery and css. When you click a
I want to create a component that will appear as a navigation menu for

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.