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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T03:09:48+00:00 2026-06-09T03:09:48+00:00

http://vc4hp.net/temp/4/test.htm If you click Scroll Left rapidly you should be able to click it

  • 0

http://vc4hp.net/temp/4/test.htm

If you click “Scroll Left” rapidly you should be able to click it at least a few times in a row.

Then you need to click “Scroll Right” lots of times but it eventually works.

Then the next time “Scroll Left” never seems to work again…

(BTW I can’t seem to get it to work at all in jsfiddle: http://jsfiddle.net/3Dmya/ )

  • 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-09T03:09:50+00:00Added an answer on June 9, 2026 at 3:09 am

    My solution prevents a double trigger on the animation, it only binds to the button that should be able to trigger, and unbinds as soon as it is clicked:

    var scrolltime = 1000;
    
    var scroll_left = function(e) {
      $('#scroll_left').unbind('click');
      $('#scroll_right').click(scroll_right);
      $('#left_content').animate({
        left: '-50%'
      }, scrolltime, function() {
        // Animation complete.
      });
      $('#right_content').animate({
        left: '50%'
      }, scrolltime, function() {
        // Animation complete.
      });
    }
    
    var scroll_right = function(e) { 
      $('#scroll_right').unbind('click');
      $('#scroll_left').click(scroll_left);
      $('#left_content').animate({
        left: '50%'
      }, scrolltime, function() {
        // Animation complete.
      });
      $('#right_content').animate({
        left: '150%'
      }, scrolltime, function() {
        // Animation complete.
      });
    }
    
    $(document).ready(function(){    
        $('#scroll_left').click(scroll_left);
        //$('#scroll_right').click(scroll_right);
    });
    ​
    

    Fiddle: http://jsfiddle.net/3Dmya/3/

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

Sidebar

Related Questions

http://ano-mag.com/black-foil/ please check this url - click the Order Now button on the left
http://jsfiddle.net/motocomdigital/uTV5k/18/ I've updated using toggle instead on click - though still can't get smooth
http://jsfiddle.net/CsrrD/ Given an object var viewModel = { Opts: ko.observableArray([ { d: 'a', v:
http://jsfiddle.net/h2vMN/1/ I have a text box text inside it already, in the actual application
http://jsfiddle.net/skowron_line/zPCBc/1/ var d1 = '31.05.2012'; var d2 = '01.06.2012'; var s1 = d1.split('.'); var
http://jsfiddle.net/3V6MM/ Please tell me how can I write common style for class=property-title to display
http://jsfiddle.net/9BCrs/5/ I have this set up to load a file into a DIV using
http://jsfiddle.net/9BCrs/2/ With respect to the above fiddle how could I use different links in
http://jsfiddle.net/367ms/1/ Please take a look at my code. So what I want to achieve
http://msdn.microsoft.com/en-us/library/ms379570(v=vs.80).aspx I know that Arrays in .net is stored in a contiguous fashion. (

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.