Mercurial > hg > webaudioevaluationtool
comparison index.html @ 2268:0c3111ca4566
Indx.html fix
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Wed, 20 Apr 2016 17:13:19 +0100 |
parents | 0ea213bbe018 |
children | e59327ebdb15 |
comparison
equal
deleted
inserted
replaced
2267:0ea213bbe018 | 2268:0c3111ca4566 |
---|---|
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html lang="en"> | 2 <html lang="en"> |
3 <head> | 3 <head> |
4 <meta charset="utf-8" /> | 4 <meta charset="utf-8" /> |
5 | |
6 | |
5 <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame | 7 <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame |
6 Remove this if you use the .htaccess --> | 8 Remove this if you use the .htaccess --> |
7 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | 9 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
8 | 10 |
9 <title>Web Audio Evaluation Tool</title> | 11 <title>Web Audio Evaluation Tool</title> |
10 <meta name="description" content="" /> | 12 <meta name="description" content="" /> |
11 <meta name="author" 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='css/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 type="text/javascript" src="js/jquery-2.1.4.js"></script> | |
20 <script type="text/javascript" src='js/specification.js'></script> | |
21 <script type="text/javascript" src='js/core.js'></script> | |
22 <script type="text/javascript" src='js/loudness.js'></script> | |
23 <script type="text/javascript" src='js/xmllint.js'></script> | |
24 <script type="text/javascript" src='js/WAVE.js'></script> | |
25 <script type="text/javascript"> | |
26 // SEARCH QUERY: By using the GET Request option ?url=loca/path/to/project.xml in the URL bar, you can load a project quickly | |
27 if (window.location.search.length != 0) | |
28 { | |
29 var search = window.location.search.split('?')[1]; | |
30 // Now split the requests into pairs | |
31 var searchQueries = search.split('&'); | |
32 for (var i in searchQueries) | |
33 { | |
34 // Split each request into | |
35 searchQueries[i] = searchQueries[i].split('='); | |
36 if (searchQueries[i][0] == "url") | |
37 { | |
38 url = decodeURI(searchQueries[i][1]); | |
39 } | |
40 } | |
41 loadProjectSpec(url); | |
42 window.onbeforeunload = function() { | |
43 return "Please only leave this page once you have completed the tests. Are you sure you have completed all testing?"; | |
44 }; | |
45 } | |
46 </script> | |
12 </head> | 47 </head> |
13 | 48 |
14 <body> | 49 <body> |
15 <div id='topLevelBody'> | 50 <div id='topLevelBody'> |
16 <h1>Web Audio Evaluation Tool</h1> | 51 <h1>Web Audio Evaluation Tool</h1> |
29 <li><a href="LICENSE.txt" target="_blank">License</a></li> | 64 <li><a href="LICENSE.txt" target="_blank">License</a></li> |
30 <li><a href="CITING.txt" target="_blank">Citing</a></li> | 65 <li><a href="CITING.txt" target="_blank">Citing</a></li> |
31 <li><a href="docs/Instructions/Instructions.pdf" target="_blank">Instructions</a></li> | 66 <li><a href="docs/Instructions/Instructions.pdf" target="_blank">Instructions</a></li> |
32 </ul> | 67 </ul> |
33 </div> | 68 </div> |
69 <div id="popupHolder" class="popupHolder" style="visibility: hidden; z-index: -1"> | |
70 <div id="popupContent"> | |
71 <div id="popupTitleHolder" style="text-align: center"> | |
72 <span id="popupTitle"></span> | |
73 </div> | |
74 <div id="popupResponse"></div> | |
75 </div> | |
76 <button id="popup-proceed" class="popupButton">Next</button> | |
77 <button id="popup-previous" class="popupButton">Back</button> | |
78 </div> | |
79 <div class="testHalt" style="visibility: hidden; z-index: -2"></div> | |
34 </body> | 80 </body> |
35 </html> | 81 </html> |