forked from timeglider/jquery_widget
-
Notifications
You must be signed in to change notification settings - Fork 0
/
large.html
107 lines (71 loc) · 3 KB
/
large.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Timeglider jQuery Plugin</title>
<link rel="stylesheet" href="css/base.css" type="text/css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" href="css/aristo/jquery-ui-1.8.5.custom.css" type="text/css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" href="js/timeglider/Timeglider.css" type="text/css" media="screen" title="no title" charset="utf-8">
<style type='text/css'>
#placement {
margin:32px;
height:500px;
}
.scrolls {
margin-top:14px;
text-align:center;
}
.scrolls a {
font-size:14px;
font-weight:bold;
color:blue;
cursor:pointer;
}
</style>
</head>
<body>
<div id='placement'></div>
<div class='controls'>
<table>
<tr><td id='zoomlevel' width='33%'>...</td><td id='tickwidth' width='33%'>tw</td><td id='focusdate'>...</td></tr>
<tr><td id='tickpos'></td><td colspan='2' id='note'>...</td></tr>
</table>
<div id='output'></div>
</div>
<!-- 3rd party libs -->
<script src="js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="js/jquery-ui.js" type="text/javascript" charset="utf-8"></script>
<script src="js/underscore-min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/backbone-min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/jquery.tmpl.js" type="text/javascript" charset="utf-8"></script>
<script src="js/ba-debug.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/ba-tinyPubSub.js" type="text/javascript" charset="utf-8"></script>
<script src="js/jquery.mousewheel.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/jquery.ui.ipad.js" type="text/javascript" charset="utf-8"></script>
<script src="js/jquery.global.js" type="text/javascript" charset="utf-8"></script>
<script src="js/timeglider/TG_Date.js" type="text/javascript" charset="utf-8"></script>
<script src="js/timeglider/TG_Org2.js" type="text/javascript" charset="utf-8"></script>
<script src="js/timeglider/TG_Timeline.js" type="text/javascript" charset="utf-8"></script>
<script src="js/timeglider/TG_TimelineView.js" type="text/javascript" charset="utf-8"></script>
<script src="js/timeglider/TG_Mediator.js" type="text/javascript" charset="utf-8"></script>
<script src="js/timeglider/timeglider.timeline.widget.js" type="text/javascript" charset="utf-8"></script>
<script type='text/javascript'>
$(function () {
var tg1 = $("#placement").timeline({
"min_zoom":5,
"max_zoom":100,
"show_centerline":true,
"data_source":"json_tests/idaho.json",
"show_footer":true,
"display_zoom_level":true
});
$("#scrolldown").bind("click", function() {
$(".timeglider-timeline-event").animate({top:"+=100"})
})
$("#scrollup").bind("click", function() {
$(".timeglider-timeline-event").animate({top:"-=100"})
})
}); // end document-ready
</script>
</body>
</html>