File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 9
9
<xi : include href =" ../includes/core-extension-desc.xml" xmlns : xi =" http://www.w3.org/2003/XInclude" />
10
10
<pre >
11
11
<code ><![CDATA[
12
- $("#target").mousemove (function(event) {
13
- var msg = "Handler for .mousemove () called at ";
12
+ $("#target").vmousemove (function(event) {
13
+ var msg = "Handler for .vmousemove () called at ";
14
14
msg += event.pageX + ", " + event.pageY;
15
15
$("#log").append("<div>" + msg + "</div>");
16
16
});
Original file line number Diff line number Diff line change 13
13
< script >
14
14
$ ( function ( ) {
15
15
$ ( document ) . on ( "vmousedown" , "p" , function ( ) {
16
- $ ( this ) . append ( '<span style="color:#00F;">Mouse down.</span>' ) ;
16
+ $ ( this ) . append ( '<span style="color:#00F;">Mouse down.</span>' ) ; }
17
17
} ) ;
18
18
</ script >
19
19
</ body >
Original file line number Diff line number Diff line change 17
17
</ div >
18
18
< div id ="log "> </ div >
19
19
< script >
20
- $ ( " #target") . mousemove ( function ( event ) {
21
- var msg = "Handler for .mousemove () called at " ;
20
+ $ ( document ) . on ( "vmousemove" , " #target", function ( event ) {
21
+ var msg = "Handler for .vmousemove () called at " ;
22
22
msg += event . pageX + ", " + event . pageY ;
23
23
$ ( "#log" ) . append ( "<div>" + msg + "</div>" ) ;
24
24
} ) ;
Original file line number Diff line number Diff line change 13
13
< script >
14
14
$ ( function ( ) {
15
15
$ ( document ) . on ( "vmouseout" , "p" , function ( ) {
16
- $ ( this ) . append ( '<span style="color:#00F;">Mouse out.</span>' ) ;
16
+ $ ( this ) . append ( '<span style="color:#00F;">Mouse out.</span>' ) ; }
17
17
} ) ;
18
18
</ script >
19
19
</ body >
You can’t perform that action at this time.
0 commit comments