some *.js files moved from tools/htdocs to ./src
[mkws-moved-to-github.git] / examples / htdocs / jasmine-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     <link rel="stylesheet" type="text/css" href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
7     <link rel="stylesheet" type="text/css" href="tools/htdocs/mkws.css" />
8
9     <script type="text/javascript" src="src/jquery-1.10.0.min.js"></script>
10     <script type="text/javascript" src="//code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>
11     <script type="text/javascript" src="src/pz2.js"></script>
12     <script type="text/javascript" src="src/jquery.json-2.4.js"></script>
13     <script type="text/javascript" src="src/handlebars-v1.1.2.js"></script>
14     <script type="text/javascript" src="src/mkws.js"></script>
15     <script type="text/javascript" src="src/mkws-jquery.js"></script>
16
17     <link rel="shortcut icon" type="image/png" href="jasmine/lib/jasmine-1.3.1/jasmine_favicon.png">
18     <link rel="stylesheet" type="text/css" href="jasmine/lib/jasmine-1.3.1/jasmine.css">
19     <script type="text/javascript" src="jasmine/lib/jasmine-1.3.1/jasmine.js"></script>
20     <script type="text/javascript" src="jasmine/lib/jasmine-1.3.1/jasmine-html.js"></script>
21
22     <script type="text/javascript" src="test/spec/true.spec.js"></script>
23     <script type="text/javascript" src="test/spec/mkws-config.js"></script>
24     <script type="text/javascript" src="test/spec/mkws-pazpar2.js"></script>
25
26     <script type="text/javascript" src="test/js/mkws-jasmine-run.js"></script>
27     <script type="text/javascript"> mkws_jasmine_init(500); </script>
28   </head>
29
30   <body>
31     <script type="text/javascript">
32     var mkws_config = {
33       perpage_default: 10,
34       pazpar2_url:          "//mkws.indexdata.com/service-proxy/",
35       service_proxy_auth:   "//mkws.indexdata.com/service-proxy-testauth"
36     };
37
38     jQuery.pazpar2({
39         "layout": "popup",               /* "table" [default], "div", "popup" */
40         "id_button": "input.mkwsButton", /* submit button id in search field */
41         "id_popup": "#mkwsPopup",        /* internal id of popup window */
42         "width": 990,                    /* popup width, should be at least 800 */
43         "height": 760                    /* popup height, should be at least 600 */
44     });
45     </script>
46
47     <pre>
48 An embryonic MasterKey Widget Set
49 =================================
50
51 This directory contains an embryonic MasterKey Widget Set, based
52 initially on "jsdemo" though now far removed from those beginnnings.
53 [...]
54     </pre>
55      <div id="testMOTD"><div id="mkwsMOTD">This is the mkwsMOTD div</div></div>
56   </body>
57 </html>