Welcome To Snipplr
Everyone's Recent Snippets Tagged event
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
PACKAGE replace -> com.yourdomain.control
CLASSFILENAME replace -> com.yourdomain.control - folder > MyCustomEvent.as
0
525
posted 16 years ago by t3flexdev
`Events.add(element, type, handler)` adds a handler to an element
`Events.remove(element, type, handler)` removes a handler from an element
`Events.getTarget(event)` or `Events.getOrigin(event)` returns the element from which the event originat...
1
909
posted 16 years ago by wizard04
Usage: onmouseout='if (isMouseLeaveOrEnter(event, this)) YourActionHere();' onmouseover='if (isMouseLeaveOrEnter(event, this)) YourOtherActionHere();'
1
855
posted 16 years ago by Winkyboy
A CountEvent class’s instance counts up from 0 to 50, then dispatches "countComplete" event. Here’s a result below.
1
2
3
.
.
.
48
49
50
Count Complete
0
6605
posted 17 years ago by garamond
Annotated version of the Microsoft/GotDotNet demo from the MSDN Wiki.
0
832
posted 18 years ago by rengber
Deals with the fact that mouse buttons are referenced in different ways by different browsers.
0
1257
posted 18 years ago by MyKey_