Added click tracking to basic test page.

This commit is contained in:
Scott González 2010-10-12 13:57:38 -04:00
parent cf4e3969f0
commit 42110289d3

View file

@ -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>