Mercurial > hg > webaudioevaluationtool
comparison index.html @ 1936:94e57a566167
First draft of AES poster
author | Dave Moffat <me@davemoffat.com> |
---|---|
date | Tue, 23 Feb 2016 15:19:31 +0000 |
parents | |
children | a4ad9e55b5b8 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 1936:94e57a566167 |
---|---|
1 <!DOCTYPE html> | |
2 <html lang="en"> | |
3 <head> | |
4 <meta charset="utf-8" /> | |
5 | |
6 | |
7 <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame | |
8 Remove this if you use the .htaccess --> | |
9 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | |
10 | |
11 <title>Web Audio Evaluation Tool</title> | |
12 <meta name="description" content="" /> | |
13 <meta name="author" content="" /> | |
14 | |
15 <!-- Load up the default core JS and CSS files--> | |
16 <link rel='stylesheet' type='text/css' href='core.css'> | |
17 <!-- Use jQuery hosted from Google CDN --> | |
18 <!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>--> | |
19 <script src="jquery-2.1.4.js"></script> | |
20 <script src='core.js'></script> | |
21 <script src='loudness.js'></script> | |
22 <script src='xmllint.js'></script> | |
23 <script src='WAVE.js'></script> | |
24 <script type="text/javascript"> | |
25 // SEARCH QUERY: By using the GET Request option ?url=loca/path/to/project.xml in the URL bar, you can load a project quickly | |
26 if (window.location.search.length != 0) | |
27 { | |
28 var search = window.location.search.split('?')[1]; | |
29 // Now split the requests into pairs | |
30 var searchQueries = search.split('&'); | |
31 for (var i in searchQueries) | |
32 { | |
33 // Split each request into | |
34 searchQueries[i] = searchQueries[i].split('='); | |
35 if (searchQueries[i][0] == "url") | |
36 { | |
37 url = searchQueries[i][1]; | |
38 } | |
39 } | |
40 loadProjectSpec(url); | |
41 window.onbeforeunload = function() { | |
42 return "Please only leave this page once you have completed the tests. Are you sure you have completed all testing?"; | |
43 }; | |
44 } | |
45 </script> | |
46 </head> | |
47 | |
48 <body> | |
49 <!-- Load up the default page interface allowing for project setting loads, even if hard-coded--> | |
50 <!-- Actual test interface design should be contained in the .js for ease of dynamic content--> | |
51 <div id='topLevelBody'> | |
52 <span>Web Audio Evaluation Toolbox</span> | |
53 </div> | |
54 <div id="popupHolder" class="popupHolder" style="visibility: hidden; z-index: -1"> | |
55 <div id="popupContent"> | |
56 <div id="popupTitleHolder" style="text-align: center"> | |
57 <span id="popupTitle"></span> | |
58 </div> | |
59 <div id="popupResponse"></div> | |
60 </div> | |
61 <button id="popup-proceed" class="popupButton">Next</button> | |
62 <button id="popup-previous" class="popupButton">Back</button> | |
63 </div> | |
64 <div class="testHalt" style="visibility: hidden; z-index: -2"></div> | |
65 </body> | |
66 </html> |