Rename
[mkws-moved-to-github.git] / examples / htdocs / index-popup.html
index 54a81f2..b27b252 100644 (file)
@@ -3,25 +3,26 @@
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <title>MKWS demo: popup search box</title>
 
-    <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
-    <link rel="stylesheet" href="http://mkws.indexdata.com/mkwsStyle.css" />
+    <link rel="stylesheet" type="text/css" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
+    <link rel="stylesheet" type="text/css" href="http://mkws.indexdata.com/mkws.css" />
 
     <script type="text/javascript">
       mkws_config = {
-        service_proxy_url : "/service-proxy/",
-        service_proxy_auth : "/service-proxy-auth/",
-       switch_menu: false,
-       lang_menu: false,
+       show_lang: false,
        perpage_default: 10,
-       query_width: 50
+       query_width: 50,
+        service_proxy_auth: "http://mkws.indexdata.com/service-proxy-auth"
      };
     </script>
 
     <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
-    <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
+    <!-- legacy libs for testing
+    <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.4.min.js"></script>
+    <script src="http://code.jquery.com/ui/1.8.0/jquery-ui.min.js"></script>
+    -->
 
-    <script type="text/javascript" src="libjs-pz2/pz2api.1.js"></script>
-    <script type="text/javascript" src="mkws.js"></script>
+    <script type="text/javascript" src="http://mkws.indexdata.com/libjs-pz2/pz2api.1.js"></script>
+    <script type="text/javascript" src="http://mkws.indexdata.com/mkws.js"></script>
 
   </head>
   <body>
@@ -49,7 +50,7 @@ can have MasterKey searching with minimal effort.
 
 The following files must be hosted on mkws.indexdata.com:
         mkws.js
-        mkwsStyle.css
+        mkws.css
         /libjs-pz2/pz2api.1.js (*)
 
 The following files make up the application:
@@ -73,5 +74,6 @@ whatever makes up the application itself:
 
 [...]
     </pre>
+    <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>
   </body>
 </html>