-
Notifications
You must be signed in to change notification settings - Fork 3
/
jqTouch.html
88 lines (75 loc) · 3.1 KB
/
jqTouch.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE HTML>
<html lang="pt-br">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>jqTouch</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="robots" content="index, follow" />
<meta name="author" content="Wallace Erick" />
<link type="text/css" href="css/style.css" rel="stylesheet">
<link type="text/css" href="css/jqtouch.css" rel="stylesheet">
</head>
<body>
<div id="jqt">
<div id="home" class="current">
<div class="toolbar">
<h1>Animations</h1>
</div>
<ul class="rounded">
<li><a href="#modelo">Slide</a></li>
<li><a href="#modelo" class="slideup">Slide Up</a></li>
<li><a href="#modelo" class="dissolve">Dissolve</a></li>
<li><a href="#modelo" class="pop">Pop</a></li>
<li><a href="#modelo" class="flipright">Flip right</a></li>
<li><a href="#modelo" class="flipleft">Flip left</a></li>
<li><a href="#modelo" class="cube">Cube</a></li>
<li><a href="#modelo" class="swap">Swap</a></li>
<li><a href="#callback" class="swap">Link via Ajax com Callback</a></li>
<li><a href="Lipsum.html" class="pop">Link via Ajax Normal</a></li>
<li><a href="outros/jqtouch/demos/main/ajax_long.html" class="pop">Link via Ajax Externo</a></li>
<li><a href="#" id="link_ajax">Link via Ajax por ID</a></li>
</ul>
</div> <!-- /home -->
<div id="modelo">
<div class="toolbar">
<h1></h1>
<a href="#home" class="back">Home</a>
<a href="#about" class="button">Search</a>
</div>
<ul class="rounded">
<li>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</li>
</ul>
<a href="#" class="blueButton goback">Go back</a>
</div> <!-- /modelo -->
<div id="callback">
</div>
</div>
<script type="text/javascript" src="js/zepto.min.js"></script>
<script type="text/javascript" src="js/jqtouch.min.js"></script>
<script type="text/javascript" src="js/autotitles.js"></script>
<script type="text/javascript" src="js/prefixfree.js"></script>
<script type="text/javascript" charset="utf-8">
var jQT = new $.jQTouch({
icon: 'images/jqtouch.png',
icon4: 'images/jqtouch4.png',
startupScreen: 'images/jqt_startup.png',
addGlossToIcon: false,
preloadImages: []
});
Zepto(function($){
$('#callback').bind('pageAnimationStart', function(e, info){
if (!$(this).data('loaded')){
$(this).load('Lipsum.html', function(){
$(this).parent().data('loaded', true);
});
}
});
$('#link_ajax').tap(function(){
jQT.goTo('Lipsum.html', 'pop');
});
});
</script>
</body>
</html>