Additional event
I tested that IE/opera belongs to the same type. You can use attachevent to add scroll wheel events.CopyCodeThe Code is as follows:/* ie registration event */If (document. attachevent ){Document. attachevent ('onmousewheel ', scrollfunc );}
Firefox uses addeventlistener to add scroll wheel events
1. First of all, we need to return to the traditional desktop location of the WIN8 system, then we also press the WIN8 computer keyboard Win+c shortcut to open the computer's Super button, in this Super button, we can see the setting options, we click this setting option.
2. In the Open Settings window, we click the "Change computer settings" option--then click "Computer and Device"--"mouse and Touchpad", in the newly opened window, we can see the option to set the
This is not a gimmick. Although the code is very long, it is very classic. It can be used to slide the scroll bar on the keyboard or scroll wheel.
The following is the header file that stores the data.
#define NUMLINES ((int) (sizeof sysmetrics / sizeof sysmetrics [0]))struct{ int iIndex ; TCHAR * szLabel ; TCHAR * szDesc ;}sysmetrics [] ={ S
Scenecontrol + AE + scroll wheel Scaling
To set the scroll wheel scaling for scenecontrol, you must define the delegation. Because scenecontrol does not have a wheel event, the from wheel event must be delegated.
Public form1
Use the Scrollify plug-in of jQuery to slide the scroll wheel or gesture to the next node of the page, jqueryscrollify
Sometimes we need to make a single page to introduce product features, while a single page contains a lot of content and the page is very long. In order to quickly locate the product feature node, we use js to listen for user wheel events, when y
This article describes how to use JQuery to slide the scroll wheel to a page node. For more information, see the following JQuery code, and present it to you.
Based on jQuery, move the scroll wheel to the page node. This is a special effect based on jQuery + CSS3 that uses the scr
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
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, the Word program began to provide automatic
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
Js scroll wheel for screen cutting
Because the entire project is not self-written, it just helps others write js scroll code, and other projects are not yet online, so only part of the code that I wrote is posted,
Effect: When the scroll wheel is clicked, the screen on the W
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 mouse
Label:Scroll bar Drag problemBy default, when you drag, the data in the grid does not change, and then it changes when you release the mouse.When the method is dragged, the current record is changed without the new controlHttp://wenwen.sogou.com/z/q185291591.htmMouse wheel problem:Method 1: Only the lower version of the IDE, such as D7, can scroll down all the time. 2007 and the newer IDE above does not hav
, it can be any date in the past, but the end date and the current date. If you want to set the default display date, you can use the date attribute:
datePicker.date = minDate;
You can also use the setdate method. If an animation is selected, the dial will scroll to the date you specified:
[ datePicker setDate:maxDate animated:YES];
5. Display date Selector
[ self.view addSubview:datePicker];
It should be noted that the height of the selector is alway
Purpose: The UI responds to the scrolling up or down of the screen.
Initial implementation:
1 var scrollfunc = function (e) {2 3 var DATA = 0; 4 E = E | window. event; 5 If (E. wheeldelta) {// IE/Opera/chrome 6 data = E. wheeldelta; 7} else if (E. detail) {// Firefox 8 Data = E. detail; 9} 10 CB CB (data); 11} 12/* Registration event */13 if (document. addeventlistener) {14 document. addeventlistener ('domainscroll', scrollfunc, false); 15} 16 window. onmousewheel = document. onmousewheel = scr
JS events-scroll wheel events
I learned about the mouse events such as onmouseover and onmousedown. Today, we are looking at the scroll wheel events of the mouse. browser compatibility is always quite disgusting. Today, we are going to be disgusted with it, look at this disgusting mouse
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. currentuser. opensubkey ("Software \ ESRI \ ArcMap \ Settings", true );
If (setkey! = NULL)
{
If (s
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.