mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-05 15:10:59 +00:00
Added click tracking to basic test page.
This commit is contained in:
parent
cf4e3969f0
commit
42110289d3
1 changed files with 7 additions and 0 deletions
|
|
@ -16,6 +16,13 @@
|
|||
})
|
||||
.taphold(function() {
|
||||
$( this ).css( "color", "#0f0" );
|
||||
})
|
||||
.click(function() {
|
||||
var elem = this;
|
||||
$( elem ).css( "background-color", "#00f" );
|
||||
setTimeout(function() {
|
||||
$( elem ).css( "background-color", "transparent" );
|
||||
}, 500 );
|
||||
});
|
||||
});</script>
|
||||
</head>
|
||||
|
|
|
|||
Loading…
Reference in a new issue