Simplify Sort and Perpage widget to use anonymous closures.
[mkws-moved-to-github.git] / examples / htdocs / mike.html
index 323e644..f505083 100644 (file)
@@ -5,30 +5,35 @@
     <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="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://code.jquery.com/jquery-1.11.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 id="mkwsTemplateSummary" 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>
   </head>
   <body>
-    <div class='mkwsRecords' autosearch='!param!q'
-       targets='pz:id=lui.indexdata.com:8080/solr4/#5853'
-       >results will appear here</div>
+    <div id="mkwsSwitch"></div>
+    <div id="mkwsLang"></div>
+    <div id="mkwsSearch"></div>
+    <table width="100%" border="0" cellpadding="6" cellspacing="0">
+      <tr>
+       <td class="mkwsTermlistContainer1" width="250" valign="top">
+         <div class="mkwsTermlists"></div>
+       </td>
+       <td class="mkwsMOTDContainer" valign="top">
+         <div class="mkwsRanking"></div>
+         <div class="mkwsPager"></div>
+         <div class="mkwsNavi"></div>
+         <div class="mkwsRecords"></div>
+       </td>
+      </tr>
+      <tr>
+       <td colspan="2">
+         <div class="mkwsTermlistContainer2"></div>
+       </td>
+      </tr>
+    </table>
+    <div id="mkwsTargets"></div>
+    <div id="mkwsStat"></div>
   </body>
 </html>