Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 28 lines (28 sloc) 0.831 kB
a4e2893 @sgentile update to the readme and sample files
sgentile authored
1 <!DOCTYPE html>
2 <html>
3 <head>
90c7a7f Hide overflow with a wrapping div. Closes #5
Torkil Johnsen authored
4 <title>Swipe</title>
55d4bd7 Viewport meta
Torkil Johnsen authored
5 <meta name="viewport" content="width=device-width, initial-scale=1"/>
e8641c4 Added windows touch support, renamed a few files
Torkil Johnsen authored
6 <link rel="stylesheet" href="swipe.css" type="text/css" />
a4e2893 @sgentile update to the readme and sample files
sgentile authored
7 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
8 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
198d984 @sgentile fixed reference
sgentile authored
9 <script type="text/javascript" src="jquery.swipe.js"></script>
a4e2893 @sgentile update to the readme and sample files
sgentile authored
10 <script>
11 $(function () {
2706116 Adjusted sample HTML
Torkil Johnsen authored
12 $("#main").swipe({
a4e2893 @sgentile update to the readme and sample files
sgentile authored
13 swiped: function (e, ui) {
14 $("#textDirection").html(ui.swipeDirection);
15 }
675e938 @sgentile fix to sample
sgentile authored
16 });
a4e2893 @sgentile update to the readme and sample files
sgentile authored
17 });
18 </script>
19 </head>
20 <body>
529288e Moved CSS to CSS-file
Torkil Johnsen authored
21 <div id="wrapper">
22 <div id="textDirection">Swipe box:</div>
23 <div id="main" class="default">1</div>
24 <div id="nav">2</div>
25 <div id="extra">3</div>
26 </div>
a4e2893 @sgentile update to the readme and sample files
sgentile authored
27 </body>
28 </html>
Something went wrong with that request. Please try again.