use relative links, or protocol independend links, MKWS-98
[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="tools/htdocs/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="tools/htdocs/pz2.js"></script>
12     <script type="text/javascript" src="tools/htdocs/jquery.json-2.4.js"></script>
13     <script type="text/javascript" src="tools/htdocs/handlebars-v1.1.2.js"></script>
14     <script type="text/javascript" src="tools/htdocs/mkws.js"></script>
15
16     <link rel="shortcut icon" type="image/png" href="jasmine/lib/jasmine-1.3.1/jasmine_favicon.png">
17     <link rel="stylesheet" type="text/css" href="jasmine/lib/jasmine-1.3.1/jasmine.css">
18     <script type="text/javascript" src="jasmine/lib/jasmine-1.3.1/jasmine.js"></script>
19     <script type="text/javascript" src="jasmine/lib/jasmine-1.3.1/jasmine-html.js"></script>
20
21     <script type="text/javascript" src="test/spec/true.spec.js"></script>
22     <script type="text/javascript" src="test/spec/mkws-config.js"></script>
23     <script type="text/javascript" src="test/spec/mkws-pazpar2.js"></script>
24
25     <script type="text/javascript" src="test/js/mkws-jasmine-run.js"></script>
26     <script type="text/javascript"> mkws_jasmine_init(500); </script>
27   </head>
28
29   <body>
30     <script type="text/javascript">
31     var mkws_config = { show_lang: true,
32       pazpar2_url:          "/service-proxy/",
33       service_proxy_auth:   "/service-proxy-auth"
34     };
35
36     var jasmine_config = {
37       search_query: "pankow",
38       max_hits: 40,
39       show_record_url: false
40     };
41
42     jQuery.pazpar2({
43         "layout": "popup",               /* "table" [default], "div", "popup" */
44         "id_button": "input#mkwsButton", /* submit button id in search field */
45         "id_popup": "#mkwsPopup",        /* internal id of popup window */
46         "width": 990,                    /* popup width, should be at least 800 */
47         "height": 760                    /* popup height, should be at least 600 */
48     });
49     </script>
50
51     <pre>
52 An embryonic MasterKey Widget Set
53 =================================
54
55 This directory contains an embryonic MasterKey Widget Set, based
56 initially on "jsdemo" though now far removed from those beginnnings.
57 [...]
58     </pre>
59   </body>
60 </html>