use relative links, or protocol independend links, MKWS-98
authorWolfram Schneider <wosch@indexdata.dk>
Wed, 22 Jan 2014 13:57:25 +0000 (13:57 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Wed, 22 Jan 2014 13:57:25 +0000 (13:57 +0000)
examples/htdocs/auto.html
examples/htdocs/jquery.html
examples/htdocs/localauth.html
examples/htdocs/minimal.html
examples/htdocs/popup.html

index f1d957e..8ccb71c 100644 (file)
@@ -5,8 +5,8 @@
     <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: Automatic search</title>
-    <link rel="stylesheet" type="text/css" href="http://mkws.indexdata.com/mkws.css" />
-    <script type="text/javascript" src="http://mkws.indexdata.com/mkws-complete.js"></script>
+    <link rel="stylesheet" type="text/css" href="//mkws.indexdata.com/mkws.css" />
+    <script type="text/javascript" src="//mkws.indexdata.com/mkws-complete.js"></script>
     <style type="text/css">
       td { vertical-align: top }
     </style>
index e26bf8b..8c9f6e2 100644 (file)
@@ -2,11 +2,11 @@
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <title>MKWS demo: jQuery plugin</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="http://mkws.indexdata.com/mkws.css" />
+    <link rel="stylesheet" type="text/css" href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
+    <link rel="stylesheet" type="text/css" href="//mkws.indexdata.com/mkws.css" />
 
-    <script type="text/javascript" src="http://mkws.indexdata.com/mkws-complete.js"></script>
-    <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>
+    <script type="text/javascript" src="//mkws.indexdata.com/mkws-complete.js"></script>
+    <script src="//code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>
   </head>
   <body>
     <script type="text/javascript">
index 6c7e811..ceaf144 100644 (file)
@@ -2,7 +2,7 @@
   <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" />
+    <link rel="stylesheet" type="text/css" href="//mkws.indexdata.com/mkws.css" />
     <script type="text/javascript">
       var mkws_config = {
         service_proxy_auth: "http://example.indexdata.com/service-proxy-auth/",
@@ -11,7 +11,7 @@
       // See also the Apache2 RewriteRule needed to make this work:
       // http://example.indexdata.com/apache-config.txt
     </script>
-    <script type="text/javascript" src="http://mkws.indexdata.com/mkws-complete.js"></script>
+    <script type="text/javascript" src="//mkws.indexdata.com/mkws-complete.js"></script>
   </head>
   <body>
     <div id="mkwsSwitch"></div>
index 318a0cb..d4ec896 100644 (file)
@@ -1,3 +1,3 @@
-<script type="text/javascript" src="http://mkws.indexdata.com/mkws-complete.js"></script>
+<script type="text/javascript" src="//mkws.indexdata.com/mkws-complete.js"></script>
 <div id="mkwsSearch"></div>
 <div id="mkwsResults"></div>
index 29aff8d..6ba491e 100644 (file)
@@ -3,8 +3,8 @@
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <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="http://mkws.indexdata.com/mkws.css" />
+    <link rel="stylesheet" type="text/css" href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
+    <link rel="stylesheet" type="text/css" href="//mkws.indexdata.com/mkws.css" />
 
     <script type="text/javascript">
       mkws_config = {
      };
     </script>
 
-    <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
-    <script type="text/javascript" src="http://jquery-json.googlecode.com/files/jquery.json-2.4.js"></script>
+    <script type="text/javascript" src="//code.jquery.com/jquery-1.10.0.min.js"></script>
+    <script type="text/javascript" src="//jquery-json.googlecode.com/files/jquery.json-2.4.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="//code.jquery.com/jquery-1.4.4.min.js"></script>
+    <script src="//code.jquery.com/ui/1.8.0/jquery-ui.min.js"></script>
     -->
 
-    <script type="text/javascript" src="http://mkws.indexdata.com/pazpar2/js/pz2.js"></script>
-    <script type="text/javascript" src="http://mkws.indexdata.com/handlebars-v1.1.2.js"></script>
-    <script type="text/javascript" src="http://mkws.indexdata.com/mkws.js"></script>
+    <script type="text/javascript" src="//mkws.indexdata.com/pazpar2/js/pz2.js"></script>
+    <script type="text/javascript" src="//mkws.indexdata.com/handlebars-v1.1.2.js"></script>
+    <script type="text/javascript" src="//mkws.indexdata.com/mkws.js"></script>
 
   </head>
   <body>
@@ -76,6 +76,6 @@ whatever makes up the application itself:
 
 [...]
     </pre>
-    <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>
+    <script src="//code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>
   </body>
 </html>