To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Revision:

root / index.html

History | View | Annotate | Download (2.75 KB)

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
                                        var key = searchQueries[i][0];
36
                                        var string = searchQueries[i][1];
37
                                        if (key === "url")
38
                                        {
39
                                                url = string;
40
                                        }
41
                                        if (key === "returnUrl"){
42
                                                returnUrl = decodeURIComponent(string);
43
                                        }
44
                                }
45
                                loadProjectSpec(url+"?"+Math.random()); // force resource reload, in case the server is lazy
46
                                window.onbeforeunload = function() {
47
                                        return "Please only leave this page once you have completed the tests. Are you sure you have completed all testing?";
48
                                };
49
                        }
50
                </script>
51
        </head>
52

    
53
        <body>
54
                <!-- Load up the default page interface allowing for project setting loads, even if hard-coded-->
55
                <!-- Actual test interface design should be contained in the .js for ease of dynamic content-->
56
                <div id='topLevelBody'>
57
            <span>Loading Web Audio Evaluation Toolbox ...</span>
58
            <noscript>Javascript must be enabled in your browsers in order to be able to view this website</noscript>
59
                </div>
60
        <div id="popupHolder" class="popupHolder" style="visibility: hidden; z-index: -1">
61
            <div id="popupContent">
62
                <div id="popupTitleHolder" >
63
                    <span id="popupTitle"></span>
64
                </div>
65
                <div id="popupResponse"></div>
66
            </div>
67
            <button id="popup-proceed" class="popupButton">Next</button>
68
            <button id="popup-previous" class="popupButton">Back</button>
69
        </div>
70
        <div class="testHalt" style="visibility: hidden; z-index: -2"></div>
71
        </body>
72
</html>