forked from chinatjnet/zTouch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.html
39 lines (39 loc) · 1.9 KB
/
demo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,minimum-scale=1,user-scalable=no">
<title>zTouch 演示</title>
<style type="text/css">
body{max-width:500px;margin:0px auto;padding:4px}
*{font-family: XinGothic-SinaWeibo, 'Microsoft Yahei', Simsun;}
.show a{border:solid 1px #ccc;display:block;text-align:center;margin:5px;}
.show a img{width:100%;border:0px;max-width:320px;}
b{color:#3072B3;}
.quote{border:solid 1px #ccc;padding:5px;background:#f1f1f1;margin:0px 5px}
</style>
</head>
<body>
<center><h2># zTouch #</h2></center><br>
<div class="quote">
* Zepto.js v1.0.1版本的touch.js模块引入使用后会导致页面很卡的情况,所以开发了一个新的扩展插件来替换其touch.js。已经过Android/ios测试。<br>
<font>* zTouch.js支持手势横向滑动,同时保证浏览器纵向滑动正常</font><br>
<font>* zTouch.js支持多点触摸监控</font><br>
</div>
<br>
<div class="show">
<center><h2>zTouch演示</h2>(点击图片进入示例)<br></center><br>
<b>演示一:Basic demo(基本用法演示)</b><br>
<a href="example/basic.html"><img src="example/images/basic.png" alt="basic"></a><br>
<b>演示二:Slide demo(幻灯片切换演示)</b><br>
<a href="example/slider.html"><img src="example/images/slider.png" alt="slider"></a><br>
<b>演示三:Scroll demo(滑动演示)</b><br>
<a href="example/scroll.html"><img src="example/images/scroll.png" alt="scroll"></a><br>
<b>演示四:MultiTouch demo(两点触摸缩放演示)</b><br>
<a href="example/multiTouch.html"><img src="example/images/multiTouch.png" alt="multiTouch"></a><br>
<b>演示五:Rich demo(综合演示)</b><br>
<a href="example/rich.html"><img src="example/images/rich.png" alt="multiTouch" style="max-width:302px;"></a><br>
</div>
<center>Copyright <a href="http://blog.baiwand.com" style="color:#06C">Baiwand</a></center>
</body>
</html>