Get MKWs components from absolute URLs.
authorMike Taylor <mike@indexdata.com>
Tue, 1 Oct 2013 12:15:21 +0000 (13:15 +0100)
committerMike Taylor <mike@indexdata.com>
Tue, 1 Oct 2013 12:15:21 +0000 (13:15 +0100)
Previously assumed it was running on the same host as tools.

examples/htdocs/index-popup.html

index 8ec75fe..b98dc9b 100644 (file)
@@ -4,7 +4,7 @@
     <title>MKWS demo: popup search box</title>
 
     <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="mkwsStyle.css" />
+    <link rel="stylesheet" type="text/css" href="http://mkws.indexdata.com/mkwsStyle.css" />
 
     <script type="text/javascript">
       mkws_config = {
@@ -22,8 +22,8 @@
     <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>