Mouse
Events
Events triggered by a mouse, or
similar user actions:
Applies to all HTML5 elements.
| 
Attribute | 
Value | 
Description | 
| 
onclick | 
script  | 
Script to be run on a mouse click | 
| 
ondblclick | 
script  | 
Script to be run on a mouse
  double-click  | 
| 
ondragNew | 
script  | 
Script to be run when an element
  is dragged | 
| 
ondragendNew | 
script  | 
Script to be run at the end of a
  drag operation | 
| 
ondragenterNew | 
script  | 
Script to be run when an element
  has been dragged to a valid drop target | 
| 
ondragleaveNew | 
script  | 
Script to be run when an element
  leaves a valid drop target | 
| 
ondragoverNew | 
script  | 
Script to be run when an element
  is being dragged over a valid drop target | 
| 
ondragstartNew | 
script  | 
Script to be run at the start of a
  drag operation | 
| 
ondropNew | 
script  | 
Script to be run when dragged
  element is being dropped | 
| 
onmousedown | 
script  | 
Script to be run when a mouse
  button is pressed  | 
| 
onmousemove | 
script  | 
Script to be run when the mouse
  pointer moves  | 
| 
onmouseout | 
script | 
Script to be run when the mouse
  pointer moves out of an element  | 
| 
onmouseover | 
script | 
Script to be run when the mouse
  pointer moves over an element  | 
| 
onmouseup | 
script  | 
Script to be run when a mouse
  button is released  | 
| 
onmousewheelNew | 
script  | 
Script to be run when the mouse
  wheel is being rotated | 
| 
onscrollNew | 
script  | 
Script to be run when an element's
  scrollbar is being scrolled | 
 
No comments:
Post a Comment