Use class rather than id for mkwsTargets.
[mkws-moved-to-github.git] / examples / htdocs / mike2.html
index 8afd115..dbbd024 100644 (file)
@@ -3,25 +3,27 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="copyright" content="(c) 1999-2013 IndexData ApS, http://indexdata.com" />
     <title>MKWS demo: Mike's playground</title>
     <link rel="stylesheet" type="text/css" href="http://x.mkws.indexdata.com/mkws.css" />
     <script type="text/javascript">
-       var mkws_config = {
-       sort_default: "title",
-       };
+      var mkws_config = {
+        service_proxy_auth: "http://x.example.indexdata.com/service-proxy-auth/",
+      };
+      // See also the Apache2 RewriteRule needed to make this work:
+      // http://example.indexdata.com/apache-config.txt
     </script>
     <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
+    <script type="text/javascript" src="http://x.mkws.indexdata.com/jquery.json-2.4.js"></script>
     <script type="text/javascript" src="http://x.mkws.indexdata.com/handlebars-v1.1.2.js"></script>
     <script type="text/javascript" src="http://x.mkws.indexdata.com/pazpar2/js/pz2.js"></script>
     <script type="text/javascript" src="http://x.mkws.indexdata.com/mkws.js"></script>
   </head>
   <body>
-    <div id="mkwsSwitch"></div>
+    <div class="mkwsSwitch"></div>
     <div id="mkwsLang"></div>
-    <div id="mkwsSearch"></div>
-    <div id="mkwsResults"></div>
-    <div id="mkwsTargets"></div>
+    <div class="mkwsSearch"></div>
+    <div class="mkwsResults"></div>
+    <div class="mkwsTargets"></div>
     <div id="mkwsStat"></div>
   </body>
 </html>