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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:44:07+00:00 2026-05-30T03:44:07+00:00

I am making a page based on isotope. The main display scrolls horizontally, and

  • 0

I am making a page based on isotope. The main display scrolls horizontally, and I’ve taken the default mousewheel action using the jquery.mousehweel script. I want to give the default action back to the user when an article is opened, and stop it from scrolling horizontally, but I can’t figure out how to do it.

Here’s the jsfiddle link that gives an example:

http://jsfiddle.net/DJVX2/529/

When you click a box, it gets very tall, but if you use the mousewheel it still scrolls the page side to side. I’d like to let the user scroll vertically only while the box is tall.

Thanks for any help!

note: if your mouse is not over the #container div, you will already be able to use the mouse to scroll horizontally. The problem is when the mouse is over the #makeMeScrollable div that contains all the boxes

  • 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-30T03:44:08+00:00Added an answer on May 30, 2026 at 3:44 am

    You have to unbind the exact same function. In your code, you are unbinding a different function with a similar footprint. To use the exact same function, define it first and store it a variable, and then use a reference to that variable in both the bind and the unbind. See http://jsfiddle.net/DJVX2/530/ for an update to your fiddle showing this working in your context. The basic idea is this:

    // Define the callback
    var callback = function(ev) { ... };
    
    // Bind the callback
    $(selector).bind('event', callback);
    
    // Unbind the callback
    $(selector).unbind('event', callback);
    

    As of jQuery 1.7 (the newest version at the time of this writing), the preferred method of event binding is to use on and off like this:

    // Bind the callback
    $(selector).on('event', callback);
    
    // Unbind the callback
    $(selector).off('event', callback);
    

    (Note that you can also pass another argument to these to do event delegation. See the docs for more details.

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

Sidebar

Related Questions

I have some images I want to display on my page but based on
I'm making a XHTML Page, and i'm using php to generate it. So, now
I'm making a web page using CGI scripting which has a form users need
So I am making a Text-Based RPG Applet in Java. I am using SWING
I got the task of making an loading page for a webapp, based on
I'm working on my portfolio, making it entirely jQuery based. So my problem is
I'm making a page which has some interaction provided by javascript. Just as an
I'm making a page where the user upload a file. I want an if
Please have a look at this page www.pixeli.ca/issue. I have begun making a page
OK, say that my application is emitting (x86) instructions into memory, making the page

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.