mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +01:00
17 lines
564 B
HTML
17 lines
564 B
HTML
|
<html>
|
||
|
<head>
|
||
|
<title>jQuery - Tap and Hold</title>
|
||
|
<script src="http://code.jquery.com/jquery-1.7.min.js" type="text/javascript"></script>
|
||
|
<script src="https://raw.github.com/zaubersoftware/jquery-tap-and-hold/master/jquery.tapandhold.js" type="text/javascript"></script>
|
||
|
<script type="text/javascript">
|
||
|
$(function(){
|
||
|
$(".tap").bind("taphold", function(){
|
||
|
alert("Hello Tap and Hold World!");
|
||
|
});
|
||
|
});
|
||
|
</script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="tap" style="width:200px; height:200px; background-color: blue; margin: 100px 300px;"></div>
|
||
|
</body>
|
||
|
</html>
|