Copy of mobile.html
[mkws-moved-to-github.git] / examples / htdocs / mike.html
index 47f5ed3..a047afd 100644 (file)
@@ -1,23 +1,30 @@
-<html>
+<?xml version="1.0"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <title>MKWS demo client</title>
-    <link rel="stylesheet" type="text/css" href="http://mkws.indexdata.com/mkws.css" />
-    <script type="text/javascript">
-      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>
+    <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" 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">
+       var mkws_config = {
+               lang: "da",
+               debug_level: 1,
+               use_service_proxy: true,
+               show_lang: true,
+               lang_options: ["da", "en"],
+               sort_default: "relevance",
+               query_width: 50,
+               responsive_design_width: 990,
+               perpage_default: 20
+        };
+    </script>
     <script type="text/javascript" src="http://x.mkws.indexdata.com/mkws.js"></script>
   </head>
   <body>
-    <div id="mkwsSwitch"></div>
     <div id="mkwsLang"></div>
     <div id="mkwsSearch"></div>
     <div id="mkwsResults"></div>