mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +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> |