Questions tagged [mousewheel]

A mouse wheel (or scroll wheel) is a hard plastic or rubbery disc (the "wheel") on a computer mouse that is perpendicular to the mouse surface. It is used for scrolling.

1072 questions
0
votes
1 answer

Not working prevent scrolling parent with mousewheel js

I tried to prevent parent scrolling with mousewheel in Latest Google Chrome but it doesn't work. So I need some explanation with the code. $(function() { var toolbox = $('#68').find('.medium-folder-body'), //The medium-folder-body height - 500px…
vzhen
  • 11,137
  • 13
  • 56
  • 87
0
votes
1 answer

Div scrolling in Firefox

I use this code for scrolling my div mydiv.addEventListener('mousewheel', function(e) { var col = 255; if(e.wheelDelta/120 > 0) { if(col < 245) { col+=10; } this.scrollTop =…
BASILIO
  • 847
  • 2
  • 12
  • 26
0
votes
2 answers

Capturing mouse wheel on listbox items

I have a listbox which is populated with a relatively small number of items. The items don't fit on the screen, so the listbox automatically gets a vertical scrollbar on the right. The scrollbar responds to the mouse wheel but the listbox items…
Nacho1984
  • 111
  • 6
  • 17
0
votes
1 answer

jquery-mousewheel fix maximum value

I am using brandonaaron jquery-mousewheel plugin in https://github.com/brandonaaron/jquery-mousewheel with a zoom function on Pan Zoom. The problem is i cant fix a maximum value to infinely scroll down and scroll up. How can i fix this problem. I…
Vivek Dragon
  • 2,218
  • 4
  • 27
  • 48
0
votes
1 answer

WPF - Send mouse wheel messages to a Frame/WebBrowser control

I'm hosting some web content in a WPF app using the WebBrowser control (or Frame, havent' decided yet). There are some external influences that I'd like to use to simulate mouse wheel behavior in the web content. Is there a way for my WPF app to…
James Cadd
  • 12,136
  • 30
  • 85
  • 134
0
votes
1 answer

Using wheelDelta in onmousewheel event via Script#

I use mouse events in Script# with ElementEvent argument. But I can not find WheelDelta property in this argument for onmousewheel event. How is it possible to use this property?
Ivan Kochurkin
  • 4,413
  • 8
  • 45
  • 80
0
votes
3 answers

Mouse scroll to anchors

First question here, hopefully you guys can help! Im far more of an art guy than a coder, so Im completely lost here. So! What I want to do is this. I am setting up a page with a single div thats 500% tall. It contains 5 divs that are all 20%…
Jeff Monk
  • 113
  • 1
  • 2
  • 12
0
votes
1 answer

Make tabpage not process mousewheel events (C#)

I have made a MDI (tabbed) application that uses PictureBoxes inside TabPages. The picturebox is sometimes larger then the tabpage, so scrollbars appear. It is written in C# using Windows Forms. Inside my tabpage, I capture and process mouse wheel…
Ove
  • 6,227
  • 2
  • 39
  • 68
0
votes
0 answers

Difference between setting `scrollTop` directly and setting it with `$.animate`

In a mousewheel event handler, I changed a statement that updates a element's scrollTop: - list.scrollTop(newScrollTop); + list.animate({ + scrollTop: newScrollTop + }, 80); I added this animate to make the list…
satoru
  • 31,822
  • 31
  • 91
  • 141
0
votes
0 answers

How to handle mouse wheel stop in JQuery for smooth scrolling

I have problem. I making site with animation. I using mouse wheel steps data for moving div's with css. In firefox all working fine. But Chrome working not good. On chrome minimal step is 100px and movements very fragmentary. And i want to get sum…
Bohdan Hdal
  • 149
  • 3
  • 15
0
votes
3 answers

mousewheel plugin not working in firefox

I've been using brandon aarons mousewheel plugin and is working on webkit browsers HOWEVER it doesn't work on firefox. this was the original code for brandon aaron's which is great on webkit $('body').on('mousewheel', function(event, delta){ …
user1677581
0
votes
3 answers

Catch one scroll

I use the scrollTop along with the mousewheel tweak on jQuery to navigate on my website, the problem is: it works (not so bad) with a real mouse : you have to scroll ONE notch to go to second part of the site if you scroll 2 notches it'll go to page…
Yass Ben
  • 3
  • 1
0
votes
1 answer

How can i catch mouse wheel click event in flex?

How can I catch mouse wheel click event in flex? I use this.addEventListener(MouseEvent.MOUSE_WHEEL,function(){}); But It works not, Thanx
StevenWang
  • 3,625
  • 4
  • 30
  • 40
0
votes
1 answer

how to scroll horizontally with mouse wheel in emacs when "truncate long lines" is enabled?

In the truncate mode, only partial lines are displayed in the window. I know C-x < and C-x > can scroll left and right, but I'd like a more convenient way to handle horizontal scrolling - the way alike what we scroll vertically with mouse wheel…
RNA
  • 146,987
  • 15
  • 52
  • 70
0
votes
1 answer

Control.OnKeyDown triggered by Logitech mouse?

In my C# application, I handle CTRL and SHIFT in OnKeyDown as shown below. It works as intented. However, when I press the middle button on my Logitech M705 I get a sequence of unwanted key events. Both foo() and bar() get called, which clearly is…
l33t
  • 18,692
  • 16
  • 103
  • 180