-
Notifications
You must be signed in to change notification settings - Fork 329
/
titlelinks.html
186 lines (152 loc) · 8.68 KB
/
titlelinks.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>title links</title>
<meta name="description" content="title links">
<meta name="keywords" content="jquery, pagination, javascript, plugin" />
<meta name="author" content="Luís Almeida">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/jPages.css">
<link rel="stylesheet" href="css/animate.css">
<link rel="stylesheet" href="css/github.css">
<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="js/jPages.js"></script>
<script type="text/javascript" src="js/highlight.pack.js"></script>
<script type="text/javascript" src="js/tabifier.js"></script>
<script type="text/javascript" src="js/js.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-28718218-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script>
/* when document is ready */
$(function(){
/*
* initiate the plugin without buttons and numeration
* setting midRange to 4 (number of pages)
* perPage to 1 and links to 'title'
*/
$("div.holder").jPages({
containerID : "pageContainer",
first : false,
previous : false,
next : false,
last : false,
perPage : 1,
midRange : 3,
links : "title",
animation : "fadeInUp"
});
});
</script>
<style type="text/css">
.holder {
margin: 15px 0 30px 0;
}
.holder a {
font-size: 12px;
cursor: pointer;
margin: 0 25px 0 0;
color: #333;
}
.holder a:hover {
background-color: #222;
color: #fff;
}
.holder a.jp-current {
color: #FF4242;
}
.holder a.jp-current:hover {
cursor: default;
background: none;
}
</style>
</head>
<body>
<div id="author">You can follow me on <a href="https://twitter.com/lmgalmeida">@twitter</a> or <a href="https://github.com/luis-almeida">@github</a> and you may also like <a href="http://luis-almeida.github.com/filtrify/">filtrify</a></div>
<div id="container" class="clearfix">
<div id="sidebar">
<h1 id="header">jPages</h1>
<ul id="menu">
<li><a href="http://luis-almeida.github.com/jPages/">Info</a></li>
<li><a href="documentation.html">documentation</a></li>
<li><a href="download.html">download</a></li>
</ul>
<h2>Examples</h2>
<ul>
<li><a href="defaults.html">defaults</a></li>
<li><a href="pagination.html">pagination</a></li>
<li><a href="itemsperpage.html">items per page</a></li>
<li><a href="customizebuttons.html">customize buttons</a></li>
<li><a href="custombuttons.html">custom buttons</a></li>
<li><a href="blanklinks.html">blank links</a></li>
<li class="selected"><a href="titlelinks.html">title links</a></li>
<li><a href="keybrowse.html">key browse</a></li>
<li><a href="scrollbrowse.html">scroll browse</a></li>
<li><a href="auto.html">auto</a></li>
<li><a href="direction.html">direction</a></li>
<li><a href="cssanimation.html">css animation</a></li>
<li><a href="jqueryanimation.html">jQuery animation</a></li>
<li><a href="callback.html">callback</a></li>
<li><a href="jumptopage.html">jump to page</a></li>
<li><a href="destroy.html">destroy</a></li>
<li><a href="lazyload.html">lazy load</a></li>
</ul>
<h2>Demos</h2>
<ul>
<li><a href="mosaic.html">mosaic</a></li>
<li><a href="gallery.html">gallery</a></li>
<li><a href="table.html">table</a></li>
</ul>
<div class="share">
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://luis-almeida.github.com/jPages/" data-text="jPages" data-via="lmgalmeida" data-hashtags="jQuery">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
</div> <!--! end of #sidebar -->
<div id="content" class="defaults">
<h2>Title Links</h2>
<p>You can also use jPages to easily create 'single-page' websites and keep the cool animations when users browse between pages.</p>
<p>You just have to set the names for the pages in the property 'data-title' of the correspondent page holder and set the plugin parameter 'links' to 'title'.</p>
<!-- navigation holder -->
<div class="holder">
<!-- optional CEO friendly html to be replaced by jPages generated links -->
<ul>
<li>Home</li>
<li>About me</li>
<li>Portfolio</li>
<li>Contacts</li>
</ul>
</div>
<!-- pages -->
<div id="pageContainer">
<!-- About page -->
<div data-title="About">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</div>
<!-- Portfolio page -->
<div data-title="Portfolio">
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
</div>
<!-- Contacts page -->
<div data-title="Competences">
Eruditi dolores adversarium mei te, in quo malis eloquentiam. Pro in aperiam expetendis, offendit copiosae dignissim eum te, ipsum minimum salutatus et mel. Munere integre deterruisset ea vel. Eum cu dictas minimum adolescens, nec ne quidam reformidans repudiandae, mel cu reque nulla deserunt. Ut quaestio urbanitas mea, utroque maiorum splendide vis ea, viris explicari sea ut. Sit choro expetendis at, mei at delectus adolescens. An sit probo illud urbanitas.
</div>
<!-- Contacts page -->
<div data-title="Contacts">
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
</div>
</div>
</div> <!--! end of #content -->
</div> <!--! end of #container -->
<a href="http://github.com/luis-almeida"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://a248.e.akamai.net/assets.github.com/img/7afbc8b248c68eb468279e8c17986ad46549fb71/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub"></a>
</body>
</html>