use relative links, or protocol independend links, MKWS-98
authorWolfram Schneider <wosch@indexdata.dk>
Wed, 22 Jan 2014 11:25:50 +0000 (11:25 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Wed, 22 Jan 2014 11:25:50 +0000 (11:25 +0000)
MKWS fails when included on an HTTPS site because it
uses http:// rather than simply // and this causes an
error about mixed secure/insecure content

examples/htdocs/jasmine-popup.html

index dddca54..1ac6aa7 100644 (file)
@@ -3,11 +3,11 @@
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <title>MKWS demo: jQuery popup plugin with jasmine test framework</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="tools/htdocs/mkws.css" />
 
     <script type="text/javascript" src="tools/htdocs/jquery-1.10.0.min.js"></script>
-    <script type="text/javascript" src="http://code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>
+    <script type="text/javascript" src="//code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>
     <script type="text/javascript" src="tools/htdocs/pz2.js"></script>
     <script type="text/javascript" src="tools/htdocs/jquery.json-2.4.js"></script>
     <script type="text/javascript" src="tools/htdocs/handlebars-v1.1.2.js"></script>