最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

wheelDelta Property

Internet Development Index

Retrieves the distance and direction the wheel button has rolled.

Syntax

[ p = ] event.wheelDelta

Possible Values

pInteger that receives the distance and direction that the wheel button has rolled.

The property is read-only. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

This property indicates the distance that the wheel has rotated, expressed in multiples of 120. A positive value indicates that the wheel has rotated away from the user. A negative value indicates that the wheel has rotated toward the user.

This property is used with the onmousewheel event.

Example

The following example shows how to use the wheelDelta with the onmousewheel event to measure the distance the wheel button has rotated. Measurement values of wheelDelta are in multiples of 120.

<HTML>
<HEAD>
<SCRIPT>
function updateDelta(){
oNotice.innerText=event.wheelDelta;
}
</SCRIPT>
</HEAD>
<BODY>
<DIV onmousewheel="updateDelta()">Place cursor over this sentence and roll! wheelDelta:
(<SPAN ID="oNotice"></SPAN>)
</DIV>
</BODY>
</HTML>
This feature requires Microsoft® Internet Explorer 6 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Applies To

event
聊城市| 建宁县| 祥云县| 秀山| 年辖:市辖区| 汶上县| 广丰县| 鲜城| 宜黄县| 尼木县| 丰县| 楚雄市| 乌拉特前旗| 镇宁| 洪泽县| 洛扎县| 富蕴县| 普定县| 石林| 井冈山市| 黑水县| 长宁县| 铜山县| 巢湖市| 六安市| 丽水市| 新干县| 进贤县| 石城县| 虎林市| 灵寿县| 临西县| 伊宁县| 石渠县| 罗田县| 崇左市| 青河县| 金堂县| 南昌市| 库伦旗| 云龙县|