New mike.html, tests jQuery plugin.
[mkws-moved-to-github.git] / examples / htdocs / mike.html
index 8149fa3..60f68ec 100644 (file)
@@ -4,31 +4,19 @@
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <title>MKWS demo: Mike's playground</title>
+    <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="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" src="http://x.mkws.indexdata.com/mkws.js"></script>
-    <script class="mkwsTemplate_Summary" type="text/x-handlebars-template">
-      <a href="#" id="{{_id}}" onclick="{{_onclick}}">
-        {{#each md-thumburl}}
-         <img src="{{this}}" alt="{{../md-title}}"/>
-        {{/each}}
-       <br/>
-       {{md-title}}
-      {{#if md-title-remainder}}
-        <span>{{md-title-remainder}}</span>
-      {{/if}}
-      {{#if md-title-responsibility}}
-       <span><i>{{md-title-responsibility}}</i></span>
-      {{/if}}
-      </a>
-    </script>
+    <script type="text/javascript" src="http://x.mkws.indexdata.com/mkws-jquery.js"></script>
+    <script src="//code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>
   </head>
   <body>
-    <div class='mkwsRecords' autosearch='!param!q'
-       targets='pz:id=lui.indexdata.com:8080/solr4/#5853'
-       >results will appear here</div>
+    <script type="text/javascript">
+    jQuery.pazpar2();
+    </script>
   </body>
 </html>