forked from buildinternet/totem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
reverse.html
57 lines (49 loc) · 1.55 KB
/
reverse.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Reverse Direction | Totem Ticker</title>
<link rel="stylesheet" type="text/css" href="css/style.css"/>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.totemticker.js"></script>
<script type="text/javascript">
/*
Demo for reversed direction
*/
$(function(){
$('#vertical-ticker').totemticker({
row_height : '100px',
next : '#ticker-next',
previous : '#ticker-previous',
stop : '#stop',
start : '#start',
mousestop : true,
direction : 'up'
});
});
</script>
</head>
<body>
<div id="banner">
<div class="logo-zone"><h1 id="logo-link"><a href="http://buildinternet.com">Build Internet</a></h1></div>
<div class="clear"> </div>
</div>
<div id="wrapper">
<h1 class="logo">Totem Ticker</h1>
<ul id="vertical-ticker">
<li>One Time</li>
<li>Baby</li>
<li>One Less Lonely Girl</li>
<li>Somebody to Love</li>
<li>Eenie Meenie</li>
<li>Never Say Never</li>
<li>U Smile</li>
</ul>
<p><a href="#" id="ticker-previous">Previous</a> / <a href="#" id="ticker-next">Next</a> / <a id="stop" href="#">Stop</a> / <a id="start" href="#">Start</a></p>
<p>Roll over the ticker to stop scrolling</p>
</div>
<div id="footer">
<p>A jQuery plugin from Build Internet. <a href="http://buildinternet.com/project/totem" title="Totem Plugin for jQuery">View the project page for documentation →</a></p>
</div>
</body>
</html>