-
Notifications
You must be signed in to change notification settings - Fork 22
/
timeline.html
46 lines (43 loc) · 2.3 KB
/
timeline.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html id='docHTML'>
<head>
<title>Tabulator: Async Javascript And Semantic Web</title>
<link rel="stylesheet" href="chrome://tabulator/content/tabbedtab.css" type="text/css" />
<link rel="stylesheet" href="chrome://tabulator/content/js/views/calView/assets/calendar.css" type="text/css" />
<link rel="stylesheet" href="chrome://tabulator/content/js/views/calView/assets/bigCal.css" type="text/css" />
<link rel="stylesheet" href="chrome://tabulator/content/js/views/calView/timeline/api/styles/ethers.css" type="text/css" />
<link rel="stylesheet" href="chrome://tabulator/content/js/views/calView/timeline/api/styles/events.css" type="text/css" />
<link rel="stylesheet" href="chrome://tabulator/content/js/views/calView/timeline/api/styles/timeline.css" type="text/css" />
<script src="js/views/timeutil.js" type="text/javascript"></script>
<script src="js/views/calView.js" type="text/javascript"></script>
<script src="js/views/calView/timeline/api/timeline-api.js" type="text/javascript"></script>
<script src="js/views/calView/timeline/api/timelineView.js" type="text/javascript"></script>
<script src="js/views/calView/calView.js" type="text/javascript"></script>
<script src="js/rdf/util.js" type="text/javascript"></script>
<script src="js/tab/util-nonlib.js" type="text/javascript"></script>
</head>
<body>
<div style="height:500px">
<div class="viewArea" id="viewArea">
</div>
</div>
<div id="divCal" class="divCal" style="display:none">
</div>
</body>
<script type="application/x-javascript">
function timelineLoader() {
tabulator = Components.classes["@dig.csail.mit.edu/tabulator;1"].getService(Components.interfaces.nsISupports).wrappedJSObject;
//Horrible global vars :(
kb = tabulator.kb;
sf = tabulator.fetcher;
qs = tabulator.qs;
var myTimelineView = new timelineView(document.getElementById('viewArea'));
qs.addListener(myTimelineView);
//extract the query ID Here!
var q = qs.queries[getURIQueryParameters(window.location)['query']];
myTimelineView.drawQuery(q);
}
document.onLoad=timelineLoader();
</script>
</html>