Skip to content

Commit 2f06519

Browse files
committed
Fix version list
1 parent bff7097 commit 2f06519

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

index.html

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,38 @@ <h3>Quick search</h3>
106106
<div class="body">
107107

108108

109+
<script>
110+
function getSnippet(id, url) {
111+
var req = false;
112+
// For Safari, Firefox, and other non-MS browsers
113+
if (window.XMLHttpRequest) {
114+
try {
115+
req = new XMLHttpRequest();
116+
} catch (e) {
117+
req = false;
118+
}
119+
} else if (window.ActiveXObject) {
120+
// For Internet Explorer on Windows
121+
try {
122+
req = new ActiveXObject("Msxml2.XMLHTTP");
123+
} catch (e) {
124+
try {
125+
req = new ActiveXObject("Microsoft.XMLHTTP");
126+
} catch (e) {
127+
req = false;
128+
}
129+
}
130+
}
131+
var element = document.getElementById(id);
132+
if (req) {
133+
// Synchronous request, wait till we have it all
134+
req.open('GET', url, false);
135+
req.send(null);
136+
element.innerHTML = req.responseText;
137+
}
138+
}
139+
</script>
140+
109141
<h1>John Hunter (1968-2012)</h1>
110142

111143
<table bgcolor="#ddddff">

0 commit comments

Comments
 (0)