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

  • Home
  • SEARCH
  • 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 7079071
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:37:34+00:00 2026-05-28T06:37:34+00:00

Trying to make a sliding panel where you can click next and back to

  • 0

Trying to make a sliding panel where you can click next and back to go between panes,
Ive attached a fiddle to explain better, only my back button doesnt seem to work, Can anybody see why?

http://jsfiddle.net/x2qk7/3/

  • 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-28T06:37:35+00:00Added an answer on May 28, 2026 at 6:37 am

    you have to modify your code a little bit

    $(document).ready(function(){
      $('a.next').click(function(){  
        $('.slide').animate({"left": "-=400"}, 500);
      })
      $('a.back').click(function(){  
        $('.slide').animate({"left": "+=400"}, 500);
      })
    });
    .form-slides {width:400px; overflow:hidden; border: 1px solid #ccc; margin: 25px}
    .wrap { width: 9999px; }
    .slide {width:400px; float:left; position: relative; background:#eee;}
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
    <div class="form-slides">
      <div class="wrap">
    
        <div class="slide">
          <p>Lipsum blah blah blah</p>
          <a href="#" class="next">Next</a> 
          <a href="#" class="back">back</a> 
        </div>
        <div class="slide">
          <p>Lipsum blah blah blah</p>
          <a href="#" class="next">Next</a> 
          <a href="#" class="back">back</a> 
        </div>
        <div class="slide">
          <p>Lipsum blah blah blah</p>
          <a href="#" class="next">Next</a> 
          <a href="#" class="back">back</a> 
        </div>
    
      </div>
    </div>
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make a sliding panel using .animate function because I want it
I am trying to make an imageview that rotates while sliding across the screen.
Trying to make a make generic select control that I can dynamically add elements
I am trying really hard to make a sliding frame containing widgets in tkinter
Trying to make a simple toggle menu, and I can't seem to hide/show the
I have a problem with creating a sliding puzzle. I'm trying to make a
I'm trying make one treeView with infinite subgroups. I can add my groups but
Im trying make a menu with the next structure: -category 1 --category 1.1 ---category
trying to make 5 curl childs for curl handler and defining them, but can't
Trying to make a regex that can handle input like either: Beverly Hills, CA

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.