Forgot a help fix: Drag a dock's title bar, not divider, to reposition
[supercollider.git] / HelpSource / OldHelpWrapper.html
blobd6fd2bf959b7ea676b1f35092ee2872eaba40b33
1 <html>
2 <head>
3 <title>Old Help</title>
4 <link rel='stylesheet' href='./scdoc.css' type='text/css' />
5 <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
6 <script src="scdoc.js" type="text/javascript"></script>
7 <style>
8 #oldframe {
9 border: none;
10 margin: 0;
11 padding: 0;
13 </style>
14 <script>
15 function checkHash() {
16 var urls = unescape(window.location.hash.slice(1)).split("?");
17 document.getElementById("oldframe").setAttribute("src",urls[0]);
18 document.getElementById("newlink").setAttribute("href",urls[1]);
19 document.getElementById("filename").innerHTML = urls[0];
20 var title = urls[0].split("/").pop().split(".")[0];
21 document.getElementById("oldtitle").innerHTML = title;
22 document.getElementById("topdoctitle").innerHTML = title;
23 document.title = title;
25 function onLoad() {
26 helpRoot="."; fixTOC();
27 checkHash();
29 window.onhashchange = checkHash;
30 </script>
31 </head>
32 <ul id="menubar"></ul>
33 <body onload="onLoad()">
34 <div class='contents'>
35 <div class='header'>
36 <div id='label'>SuperCollider OLD HELP</div>
37 <h1 id="oldtitle"></h1>
38 <div id="summary">
39 This file still uses the old help format, please convert to <a id="newlink">the new help system</a>.
40 </div>
41 </div>
42 <div class="subheader">
43 <div id="filename"></div>
44 </div>
45 <iframe id="oldframe" width="100%" height="500%"/>
46 </div>
47 </body>
48 </html>