1. Roller events:
IE and chrome support OnMouseWheel (attribute DOM2 level), and FF supports Dommousescroll (DOM3 level), and DOM events can only be used with addeventlistener bindings. While AddEventListener is a standard browser support, ie low version is not supported, so you can do a package of mouse wheel events.
About the direction of the mouse wheel, IE and chrome support event objects. Wheeldelta, up to 120, down to-120; The FF supports event objects. Detail, up to-3, down to 3.
When the default behavior is canceled, events bound with AddEventListener must be used: Use the event object under standard browsers. Preventdefault; in the lower version of IE, use the event object. Returnvalue=false;
Filter:alpha () Transparency in 2.CSS
With Alpha you can set the transparency, Filter:alpha is not a problem under IE, you need to use-moz-opacity to support ff.
The Alpha property is allowed to set the transparency of the element, the parameters are
Filter:alpha (opacity=, finishopacity=, style=?, startx=?, starty=?, finishx=?, finishy=?)
Where opacity: Set the transparency level, range 0-100, 0 for full transparency, and 100 for full opacity.
Finishopacity: When you set the transparency effect of a gradient, you specify the transparency at the end, ranging from 0 to 100.
Style: Sets the gradient transparency style, with a value of 0 for the uniform shape, 1 for the line, 2 for radial, and 3 for the rectangle.
StartX and Starty: Represents the start x and y coordinates of the gradient transparency effect.
For IE browser, the above method is not a problem, for FF, it is written-moz-opacity:0.8; Standard browser write opacity:0.8;
IE uses private attribute filter:alpha (opacity), Moz family uses private attribute-moz-opacity, whereas the standard attribute is opacity (Css3,moz family section supports CSS3)
20151210 minor Problems