Read about horizontal scroll with mouse wheel, The latest news, videos, and discussion topics about horizontal scroll with mouse wheel from alibabacloud.com
Wheel events are different browsers will have a little difference, one like Firefox using Dommousescroll, FF can also use the AddEventListener method to bind Dommousescroll events, Other browser wheel events using MouseWheel, I will give you a specific introduction.
Firefox uses Dommousescroll, and other browsers use MouseWheel. When scrolling event triggers Firefox uses the Detail property to capture
Some of the old two-button mouse is not a wheel, so in the use of word often to move to the right side of the window to drag the vertical scroll bar to achieve a longer resume form article page, very inconvenient. So is there a better way to scroll through the page to see the file?
In fact, from the Word 2002 version,
In the VB6.0 era, VB does not support mouse scroll wheel embedded yet. You need to use APIs to send the wm_mousewheel message of the mouse to the control to respond to rolling events. This is usually troublesome, andCodeIt is not easy to control. Today, I studied in. NET and found that the. Net Control itself supports
This article mainly introduces information about how javascript disables scroll wheel events. If you need it, you can refer to what we are compatible with at ordinary times and always adjust the compatibility of earlier IE versions, but this is not because earlier browsers are not powerful. But because Firefox is too powerful, it is totally different from the feelings of other browsers. In addition to Firef
When browsing a long Web page, document, or folder with more files, as long as the scroll up and down the mouse wheel can facilitate the page, eliminating the drag on the right scroll bar trouble. In fact, in the Win7 system, in addition to paging browsing, the mouse
How to mask the use of the mouse wheel?
The popular mouse in the market, mostly in the middle of the left and right buttons with a dial wheel. Its function is mainly when browsing IE Web page or text, toggle Dial wheel to browse forward or backward. This is equivalent to us
If you set the AutoScroll property of a form or container control (such as a Panel control) to True, the scroll bar appears when the form or Panel does not contain any of its child controls, and you can display the entire contents of the form or panel by moving the scrollbar. However, by default, the scroll bar movement can only be achieved by dragging the scroll
false;
}
This event is HTML5 defined and discussed later.
2. More Event information
Detail Property
For mouse events, detail contains a number that indicates how many clicks (once MouseDown and MouseUp) have occurred at a given position, counting from 1, and if the position between MouseDown and MouseUp is moved, the detail will be reset 0 , if the click Interval is too long, it is reset to 0.
3. Mous
introduction:
Place the mouse on the image, scroll up, the image continues to grow, scroll down, the image continues to decrease
Function disassembly analysis:
1. The first thing to pay attention to is to obtain the scroll wheel event listening, and to see whether the
Most of the mouse now has a mouse wheel, for example, when we browse the Web page, the mouse wheel move up and down, the page will automatically scroll up and down. The mouse
reset 0 , if the click Interval is too long, it is reset to 0.
Mouse Wheel Event
MouseWheel Events and Wheeldelta properties
When you scroll the page vertically, it triggers the Wheeldelta property in the Mousewheel,event object to indicate that the Wheeldelta is a multiple of 120 when the user rolls the wheel forw
In web development, the drop-down box selects a large number of components. The general statement is:
This method is commonly used.
When we select a select item, select gets the current focus. Scroll the scroll wheel to scroll the content in the select drop-down list. The selection is incorrect.
In this case, we u
Javascript: disables the scroll wheel event.
At ordinary times, we are always adjusting the compatibility of low version IE, but this is not because the low version browser is not powerful. But because Firefox is too powerful, it is totally different from the feelings of other browsers. In addition to Firefox, all browsers can use the MouseWheel event to handle the response of the
This article mainly introduces some reference values for image rotation, mouse wheel scaling, mirroring, and switching image js Code, if you are interested, you can refer to the examples in this article to show you the effects of image rotation, mouse wheel scaling, image, and image switching, and provide detailed code
VB6.0 does not support the scroll wheel, which makes it inconvenient for everyone to work and learn. This problem occurs because Visual Basic 6.0 IDE does not support the built-in use of the scroll wheel, microsoft officially provides two methods. You can give it a try:
Method 1
Download the VB 6
pseudocode, you need to register the elements of the MouseWheel eventAddevent (object, MouseWheel, function (event) {event = window.event event;Todo Something}, False);
Let's go back to the interactive effects we're going to implement, and now there are other issues that need to be addressed:
Does the page font enlarge or shrink? ==> does the mouse wheel scroll
1. Enlarge or reduce the font of the Web page
Some of the smaller fonts on the Web page, the eyes of the elderly people have a hard time browsing, then just hold down the keyboard ctrl, while the mouse wheel scroll up, you can enlarge the scale of the page, the page font will be magnified.
Press Ctrl+0 to quickly revert to the original size.
2. Automatic Rol
negative value indicates that the wheel scrolls down.>>> in Firefox, we provide the Dommousescroll method, which gives us a detail property that returns the value: positive and negative, where positive values scroll down, and negative values that scroll up the wheel. >>> Note that the return value of the Wheeldelta p
We have all seen these effects, using the mouse wheel to implement the number in a form to increase the reduction operation, or the wheel control a button around, scroll up and down. These are through the JS to the mouse wheel eve
Addevent (object, MouseWheel, function (event) {
event = window.event event;
Todo Something
}, False);
Let's go back to the interactive effects we're going to implement, and now there are other issues that need to be addressed:
Does the page font enlarge or shrink? ==> does the mouse wheel scroll up or down?
What is the number of page font scaling? Wha
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.