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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T00:19:12+00:00 2026-06-01T00:19:12+00:00

I am using jQuery cycle in combination with a mousewheel plugin. I have built

  • 0

I am using jQuery cycle in combination with a mousewheel plugin. I have built it so that the mousewheel will move through the cycle depending on how the wheel is moved. However, once the cycle changes, I would like to prevent the mousewheel from temporarily moving through the cycle for a moment or until it moves in the opposite direction as the cycle moves too quickly.

Is there any way to stop the event from being fired momentarily after it is fired each time?

I have created a JSBIN:

http://jsbin.com/evaxas/10

EDIT: Fixed an issue with the mousewheel, now it works prev/next

—

EDIT: With the help of r0m4n below, I managed to figure out a good solution. The answer below is good but creates a bit of delay before the scroll is called, so I decided to create a function that can be bound and rebound.

http://jsbin.com/evaxas/13/

function wheelMove(event,deltaY) {
  event.preventDefault();
  $('#cycle').unbind('mousewheel', wheelMove);

  if (deltaY > 0) {
    $('#cycle').cycle('next');
  }
  if (deltaY < 0) {
    $('#cycle').cycle('prev');
  }
}

$(document).ready(function(){
  $('#cycle').cycle({
    fx: 'scrollVert',
    speed: 800,
    timeout: 0,
    after: function(){
      interval = setTimeout(function(){
        $('#cycle').bind('mousewheel', wheelMove);
      },1600);
    }
  });

  $('#cycle').bind('mousewheel',wheelMove);
});
  • 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-01T00:19:13+00:00Added an answer on June 1, 2026 at 12:19 am

    For each move of the mousewheel, you can set a timeout that will delay any further user interaction.

    This might need further timing tweaks to be completely perfected but try this js:

    if (document.getElementById('hello')) {
      document.getElementById('hello').innerHTML = 'Hello World - this was inserted using JavaScript';
    }
    
    $(document).ready(function(){
        $('#cycle').cycle({
            fx: 'scrollVert'
        });
    
        var interval = "";
        $('#cycle').mousewheel(function(event, delta, deltaX, deltaY) {
            var o = '';
            clearTimeout(interval);
            if (deltaY > 0){                
                interval = setTimeout(function(){
                    $('#cycle').cycle('next');
                },400);
            }
            else if (deltaY < 0){
                interval = setTimeout(function(){
                    $('#cycle').cycle('prev');
                },400);
            }   
            //console.log(' pageY: ' + event.pageY );
        });  
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using the cycle jquery plugin. I have a few images that fade
I am using Jquery Cycle Plugin and it has a side panel that highlights
I am using the jQuery cycle plugin to cycle through some images. These images
I am using jQuery's cycle plugin, and found that I can call up the
I am using jQuery cycle plugin in one of my websites. I have activated
I am using the jQuery Cycle plugin. I have a current # / total
I am using the JQuery Cycle plugin to flick through a bunch of divs
I have some pictures, and I am using the jQuery cycle plugin to show
I'm currently using this jQuery Cycle Plugin: http://jquery.malsup.com/cycle/ And I have the following code:
Helo folks., i am using jquery.cycle plugin for displaying image gallery.. i have a

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.