AE Development Program, the mouse wheel zoomed in and out direction to modify the problem:
/// /// Scroll the middle mouse button to zoom in and zoom in the forward map. /// Void reversemousewheel ()
{
Try
{
Registrykey setkey;
// Open HKEY_CURRENT_USER \ Software \ ESRI \ ArcMap \ Settings
Setkey = registry. currentus
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
To write a custom scroll bar with the wheel event, the previous no wheel event is incomplete, and today organized a.1. Roller events are incompatible, Firefox is required to use event binding add, with the Dommousescroll, when scrolling the mouse, as long as the mouse scroll
The scroll wheel of the mouse appears in sl3. All uielements provide mousewheel events, then, we can use the relevant parameters in mousewheeleventargs to process the details of wheel triggering (the wheel is always unavailable in Maxthon, and FF is also said to be unavailab
The WINDOWS7 system has a very handy shortcut--hold down the CTRL key on the keyboard while scrolling the wheel of the mouse, and some of the fonts in the software can be changed to a flexible size.
Windows7 the CTRL key while scrolling the mouse wheel to adjust the part display element size flexibly
Firs
.*/Window.addeventlistener (' Dommousescroll ', Wheel,false); } /** Ie/opera.*/Window.onmousewheel= Document.onmousewheel =wheel; /** This is high-level function. * It must react to Delta being more/less than zero. */ varHandle =function(Delta) {if(Delta ) {alert ("Mouse wheel
The http://www.cnblogs.com/ready4tech/archive/2009/02/13/MouseWheelSupportAddOn.html adds small classes that are supported by the mouse wheel for the Silverlight Control
In fact, there are a lot of articles on the Internet that support the scroll wheel. The principles are the same, through HtmlPage. window. attachEv
Compared with the optical mouse, the wheel Mouse is the following with a scroll wheel, when the mouse moves, through the rotation of the wheel to measure the degree of displacement data
I didn't notice this scroll wheel before and saw an article about this: http://www.javascriptsearch.com/guides/Advanced/articles/JSMouseScrolling.html
I turned it around. It is useful in practical applications. The main reason is whether to roll up or down the scroll wheel.
Annotated Code function handle (delta ){If (
As an important device to control the computer, the mouse mainly consists of left, right and middle rollers, of course, some of the mouse according to the needs of the game users combined more function keys. When we are browsing some Web pages, also through the middle of the mouse wheel to slide, which also helps us to
When jquery-based mouse scroll wheel to the bottom to continue loading new data ideas for sharing (mostly for Weibo, space, and forums), you can refer to the following for more information.
The Code is as follows:
Please write a lot of data ......
More...
When jquery-based mouse scroll wheel to the bottom to continue loading new data ideas for sharing (mostly for Weibo, space, and forums), you can refer to the following for more information.
The Code is as follows:
Please write a lot of data ......
More...
Mouse Wheel Event//compatibility, the function is also written on the internet, but can not find the source, fine, all I do not need to modify the//To determine the scrolling direction of the mouse wheelif(Window.addeventlistener)//FF, Firefox will recognize this methodWindow.addeventlistener (' Dommousescroll ', Wheel
The mouse scroll wheel should pay attention to the following several points of knowledge:
There are events under Ie,chrome, and onmousewheel FF is an DOMMouseScroll event, and can only be added through AddEventListener, and at the same time, in order to take into account the IE9 below so the event will be added to make judgments
To determine whether to
one, different browser mouse wheel eventsFirst, different browsers have different wheel events. There are two main types,onmousewheel(ie/opera/chrome support, Firefox not supported) and Dommousescroll(only Firefox support)In addition, in the course of the operation of the need to add event monitoring, compatibility wordingThe code is as follows:/* Registering Eve
The original address cannot be found. It is no longer written here.
In the past, js-like Photoshop mouse wheel controls the input box, JavaScript has been used to control the mouse wheel events. The browser compatibility issues are considered in the scroll
when we are browsing a very long page, you can use the mouse wheel to scroll the page, so the appearance of the mouse wheel to bring people a great convenience, but sometimes due to improper operation so that the wheel can not be
requirements: requires a local amplification function, that is, like Google Maps, scrolling the wheel of the mouse, the map will scale, and you can use the mouse to drag the screen to see the different parts of the larger picture. Implementation: 1 for scaling, each control has one property size, and modifying the Size property enables the control to sc
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.