-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
56 lines (38 loc) · 2.59 KB
/
index.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
<html>
<!--[if lte IE 9]>
<div id="warning">
<h1>Your Browser Is Not Supported!</br></br>
<p>Please upgrade to <a href='http://getfirefox.com'>FireFox</a>, <a href='http://www.opera.com/download/'>Opera</a>, <a href='http://www.apple.com/safari/'>Safari</a> or <a href='http://www.microsoft.com/windows/downloads/ie/getitnow.mspx'>Internet Explorer 10 or higher</a>. </br></br> Thank You!</br></br><a href="#" onClick="document.getElementById('warning').style.display = 'none';"><b>Close Window</b></a></p></h1>
</div>
<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> <!-- sets the browsers viewport to the device width-->
<title>PubViz</title> <!--set title name-->
<link rel="stylesheet" href="src/style.css" /> <!--embeds the style of the pubViz visualization-->
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300,700,600,900&subset=latin-ext,latin' rel='stylesheet' type='text/css'><!--includes the Google-fonts [source sans pro]-->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script><!-- includes jQuery -->
<script src="lib/zotero-bibtex-parse.js" type="text/javascript"></script> <!--includes parser for converting BibTex files into a JSON format -->
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script> <!-- includes d3 javaScript library-->
<script src="lib/d3.layout.cloud.js"></script> <!-- includes the used layout for the tag clouds in the pubViz visualization-->
<script src="src/pubvis.js" type="text/javascript" ></script> <!-- includes the core script of the pubViz visualization-->
</head>
<body>
<script type="text/javascript">
var bib = window.location.search.substr(1);
if (! bib) {
bib = "file.bib";
}
$(document).ready(function() {
PUBVIS.make_it_all ({
target : "#pubvis_container", //the node the pubViz visualization will be appended
filename : bib, //the bibTeX filename used for the pubViz visualization
color: "#ffc200", //color name or hex value which will be used for highlighting
decoraton_color: "#285b85", //optional parameter, default is hex value #333333
exclude_keywords: [] // (write lowercase!) optional parameter, excludes keywords out of word cloud - example: ['data', 'visu', 'ocol-based c', 'ser s']
});
});
</script>
<div id="pubvis_container"></div> <!-- an example for an costumer node on which the pubViz visualization will be append -->
</body>
</html>