a test for CORS
[mkws-moved-to-github.git] / examples / htdocs / jasmine-cors-popup.html
1 <html>
2   <head>
3     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4     <title>MKWS demo: jQuery popup plugin with jasmine test framework</title>
5
6     <script type="text/javascript" src="//mkws.indexdata.com/mkws-complete.js"></script>
7     <link rel="stylesheet" type="text/css" href="//mkws.indexdata.com/mkws.css" />
8
9     <script type="text/javascript" src="//code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>
10     <link rel="stylesheet" type="text/css" href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
11
12     <link rel="shortcut icon" type="image/png" href="jasmine/lib/jasmine-1.3.1/jasmine_favicon.png">
13     <link rel="stylesheet" type="text/css" href="jasmine/lib/jasmine-1.3.1/jasmine.css">
14     <script type="text/javascript" src="jasmine/lib/jasmine-1.3.1/jasmine.js"></script>
15     <script type="text/javascript" src="jasmine/lib/jasmine-1.3.1/jasmine-html.js"></script>
16
17     <script type="text/javascript" src="test/spec/true.spec.js"></script>
18     <script type="text/javascript" src="test/spec/mkws-config.js"></script>
19     <script type="text/javascript" src="test/spec/mkws-pazpar2.js"></script>
20
21     <script type="text/javascript" src="test/js/mkws-jasmine-run.js"></script>
22     <script type="text/javascript"> mkws_jasmine_init(500); </script>
23
24     <!-- jquery null test 
25     <script type="text/javascript">$ = undefined;</script>
26         -->
27
28     <style type="text/css">
29       body > div > form > input.ui-state-default { background: none; }
30     </style>
31   </head>
32
33   <body>
34     <script type="text/javascript">
35
36     // using a local service proxy !!!
37     var mkws_config = {
38       perpage_default: 10
39     };
40
41     var jasmine_config = {
42       search_query: "netbsd",
43       expected_hits: 10,
44       // active_clients: 17,
45       check_motd: false,
46       show_record_url: true
47     };
48
49     jQuery.pazpar2({
50         "layout": "popup",               /* "table" [default], "div", "popup" */
51         "width": 990,                    /* popup width, should be at least 800 */
52         "height": 760                    /* popup height, should be at least 600 */
53     });
54     </script>
55
56     <pre>
57 An embryonic MasterKey Widget Set
58 =================================
59
60 This directory contains an embryonic MasterKey Widget Set, based
61 initially on "jsdemo" though now far removed from those beginnnings.
62 [...]
63     </pre>
64
65   </body>
66 </html>
67