-
Notifications
You must be signed in to change notification settings - Fork 1
/
distribution.html
executable file
·39 lines (31 loc) · 1.29 KB
/
distribution.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>jQuery CSVToTable</title>
<link rel="stylesheet" href="css/csvtable.css" type="text/css" />
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/jquery.csvToTable.js"></script>
<script type="text/javascript" src="js/jquery.tablesorter.dev.js"></script>
<script type="text/javascript" src="http://web.utk.edu/~oadebali/svg_library.js"></script>
<script>
$(function() {
// $.get('test.csv', function(data) {
// $('#CSVSource').html('<pre>' + data + '</pre>');
// });
$('#CSVTable').CSVToTable('clans.csv', { loadingImage: 'images/loading.gif', startLine: 0 });
// $.get('test.tsv', function(data) {
// $('#TSVSource').html('<pre>' + data + '</pre>');
// });
// $('#TSVTable').CSVToTable('test.tsv', { loadingText: 'Loading TSV Data...', loadingImage: 'images/loading.gif', startLine: 0, separator: "\t" });
// $('#CSVTable2').CSVToTable('test.csv', { loadingImage: 'images/loading.gif', startLine: 1, headers: ['Album Title', 'Artist Name', 'Price ($USD)'] }).bind("loadComplete",function() {
// $('#CSVTable2').find('TABLE').tablesorter();
// });;
});
</script>
</head>
<body>
<div id="CSVTable">
</div>
</body>
</html>