-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtemplate.html
More file actions
165 lines (157 loc) · 7.66 KB
/
template.html
File metadata and controls
165 lines (157 loc) · 7.66 KB
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<link rel="stylesheet" href="./index.css">
<title>MUMmer</title>
<script>
function createMenu(){
var navItems = [];
function returnJson(text){
var jsonResponse = JSON.parse(text);
for(var i=0;i<jsonResponse.length;i++){
navItems.push({href: jsonResponse[i].html_url, text: jsonResponse[i].tag_name, zip: jsonResponse[i].zipball_url, tar: jsonResponse[i].tarball_url});
}
releaseID = document.getElementById("releases");
for (var i = 0; i < navItems.length; i++) {
var navUL = document.createElement("ul");
navUL.classList.add('right');
var navLI = document.createElement("li");
navLI.classList.add('dropdown_sub');
var navDIV = document.createElement("div");
navDIV.classList.add('dropdown-content_sub');
navDIV.id="releases_sub";
var entryA = document.createElement("a");
var subAzip = document.createElement("a");
var subAtar = document.createElement("a");
entryA.href=navItems[i].href;
entryA.innerHTML = navItems[i].text;
subAzip.href=navItems[i].zip;
subAzip.innerHTML="ZIP";
subAtar.href=navItems[i].tar;
subAtar.innerHTML="TAR";
navDIV.appendChild(subAtar);
navDIV.appendChild(subAzip);
navLI.appendChild(entryA);
navLI.appendChild(navDIV);
navUL.appendChild(navLI);
releaseID.appendChild(navUL);
}
}
function httpGetTar(theUrl, callback)
{
var xmlHttp = new XMLHttpRequest();
xmlHttp.onreadystatechange = function() {
if (xmlHttp.readyState == 4 && xmlHttp.status == 200)
callback(xmlHttp.responseText);
}
xmlHttp.open("GET", theUrl, true); // true for asynchronous
xmlHttp.send(null);
}
window.onload = function () {
httpGetTar('https://api.github.com/repos/mummer4/mummer/releases',returnJson);
}
};
createMenu()
</script>
</head>
<body id="head">
<header class="navbar">
<div class="Row">
<form class="login">
<h1>MUMmer</h1>
<script type="text/javascript">
function returnJsonTar(text){
var jsonResponse = JSON.parse(text);
var link = document.createElement('a');
link.href = jsonResponse.tarball_url;
document.body.appendChild(link);
link.click();
}
function httpGetTar(theUrl, callback)
{
var xmlHttp = new XMLHttpRequest();
xmlHttp.onreadystatechange = function() {
if (xmlHttp.readyState == 4 && xmlHttp.status == 200)
callback(xmlHttp.responseText);
}
xmlHttp.open("GET", theUrl, true); // true for asynchronous
xmlHttp.send(null);
}
</script>
<!-- <script type="text/javascript">
function returnJsonZip(text){
var jsonResponse = JSON.parse(text);
var link = document.createElement('a');
link.href = jsonResponse.zipball_url;
document.body.appendChild(link);
link.click();
}
function httpGetZip(theUrl, callback)
{
var xmlHttp = new XMLHttpRequest();
xmlHttp.onreadystatechange = function() {
if (xmlHttp.readyState == 4 && xmlHttp.status == 200)
callback(xmlHttp.responseText);
}
xmlHttp.open("GET", theUrl, true); // true for asynchronous
xmlHttp.send(null);
}
</script> -->
<!-- <a onclick="httpGetTar('https://api.github.com/repos/mummer4/mummer/releases/latest',returnJsonTar)"><img src="./icons/tar.png" id="tarBtn" onmouseover="this.src='./icons/tarHover.png'" onmouseout="this.src='./icons/tar.png'"></img></a>
<a onclick="httpGetTar('https://api.github.com/repos/mummer4/mummer/releases/latest',returnJsonZip)"><img src="./icons/zip.png" id="zipBtn" onmouseover="this.src='./icons/zipHover.png'" onmouseout="this.src='./icons/zip.png'"></img></a> -->
</form>
</div>
<nav>
<ul class="navbar">
<li><a href="../index.html">Home</a></li>
<li><a href="../manual/manual.html">Manual</a></li>
<li><a href="../install/install.html">Installation</a></li>
<li><a href="../tutorial/tutorial.html">Tutorials</a></li>
<li class="dropdown">
<a href="https://github.com/mummer4/mummer/releases">Downloads</a>
<div class="dropdown-content" id="releases">
</div>
</li>
</ul>
</nav>
</header>
<div class="contents">
<div class="sub">
<h1>Title1</h1>
<p>Text1</p>
</div>
<div class="sub">
<h1>Title2</h1>
<p>Text2</p>
</div>
</div>
<a href="#head"><img src="./icons/up.png" id="upBtn" onmouseover="this.src='./icons/upHover.png'"
onmouseout="this.src='./icons/up.png'"></a>
<footer class="foot">
<div class="container Row">
<section class="Column">
<h2>About Us</h2>
<p>MUMmer4 and nucmer4 were developed by Guillaume Marcais (CMU/UMD) and Aleksey Zimin (UMD/JHU), building on MUMmer3 and nucmer3. The development and support team also includes Adam Phillippy (NIH), Daniela Puiu (JHU), and Steven Salzberg (JHU).</p>
</ul>
</section>
<section class="Column">
<h2>Useful Links</h2>
<ul>
<li>
<a class="footSub" href="https://github.com/mummer4/mummer">MUMmer4 at Github</a>
</li>
<li>
<a class="footSub" href="http://mummer.sourceforge.net/">MUMmer3 at SourceForge</a>
</li>
</ul>
</section>
<section class="Column">
<h2>Acknowledgements</h2>
<p>The development of early versions of MUMmer, particularly MUMmer3, was supported in part by NSF under grants IIS-9902923 (S. Salzberg) and IIS-9820497 (A. Delcher), and by NIH under grants R01-LM06845 to Steven Salzberg. MUMmer 1.0 and 2.0 were developed by Art Delcher, Steven Salzberg and colleagues (see the papers for other authors). MUMmer3.0 was a joint development effort by Stefan Kurtz of the University of Hamburg, Adam Phillippy, Art Delcher and Steven Salzberg, who were all at TIGR until 2005. <br>
MUMmer4 is currently supported in part by NIH under grant R01-GM083873 to Steven Salzberg.</p>
</section>
</div>
</footer>
</body>
</html>