<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<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: Mike's playground</title>
<link rel="stylesheet" type="text/css" href="http://x.mkws.indexdata.com/mkws.css" />
+ <style type="text/css">
+ .mkwsAuthname {
+ font-family: Gill Sans, "Gillius ADF", Gillius, GilliusADF, Verdana, Sans-Serif;
+ float: left;
+ padding-left: 1em;
+ padding-top: 0.4em;
+ color: #132194;
+ font-weight: bold;
+ }
+ </style>
<script type="text/javascript">
- var mkws_config = {
- language_Klingon: {}
- };
+ var mkws_config = { responsive_design_width: 990 };
</script>
- <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
- <script type="text/javascript" src="http://mkws.indexdata.com/libjs-pz2/pz2api.1.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>
</head>
<body>
+ <div id='mkwsRecords' autosearch='dinosaur' sort='date:0' perpage='30'
+ limit='author=smith' targetfilter='categories=id_lib'
+ </body>
+<!--
+ <body>
<div id="mkwsSwitch"></div>
<div id="mkwsLang"></div>
+ <div class="mkwsAuthname"></div>
<div id="mkwsSearch"></div>
- <script id="mkwsTemplateRecord" type="text/x-handlebars-template">
- <table>
- <tr>
- <th>Title</th>
- <td>
- {{md-title}}
- {{#if md-title-remainder}}
- ({{md-title-remainder}})
- {{/if}}
- {{#if md-title-responsibility}}
- <i>{{md-title-responsibility}}</i>
- {{/if}}
- </td>
- </tr>
- {{#if md-date}}
- <tr>
- <th>Date</th>
- <td>{{md-date}}</td>
- </tr>
- {{/if}}
- {{#if md-author}}
- <tr>
- <th>Author</th>
- <td>{{md-author}}</td>
- </tr>
- {{/if}}
- {{#if md-electronic-url}}
- <tr>
- <th>URL</th>
- <td>
- {{#each md-electronic-url}}
- <a href="{{this}}">{{this}}</a><br/>
- {{/each}}
- </td>
- </tr>
- {{/if}}
- {{#if-any location having="md-subject"}}
- <tr>
- <th>Subject</th>
- <td>
- {{#first location having="md-subject"}}
- {{#if md-subject}}
- {{md-subject}}
- {{/if}}
- {{/first}}
- </td>
- </tr>
- {{/if-any}}
- <tr>
- <th>Locations</th>
- <td>
- {{#commaList location}}
- {{attr "@name"}}{{/commaList}}
- </td>
- </tr>
- </table>
- </script>
- <div id="mkwsMOTD"></div>
-
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
- <td id="mkwsTermlistContainer1" width="250" valign="top">
- <div id="mkwsTermlists"></div>
- </td>
- <td id="mkwsMOTDContainer" valign="top">
- <div id="mkwsRanking"></div>
- <div id="mkwsPager"></div>
- <div id="mkwsNavi"></div>
- <div id="mkwsRecords"></div>
- </td>
+ <td class="mkwsTermlistContainer1" width="250" valign="top">
+ <div class="mkwsTermlists" data-mkws-config='{ "facets": ["xtargets", "author", "subject"] }'></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 id="mkwsTermlistContainer2"></div>
- </td>
+ <td colspan="2">
+ <div class="mkwsTermlistContainer2"></div>
+ </td>
</tr>
</table>
-
<div id="mkwsTargets"></div>
<div id="mkwsStat"></div>
+ <div id="mkwsMOTD">Speak, friend, and enter!</div>
+ <div style="background: #ffffe0; border: 1px solid #e0e080; padding: 0.2em 1em;">
+ <h2>Logging</h2>
+ <p class="mkwsLog"/>
+ </div>
+ </body>
+-->
+<!--
+ <body>
+ <table width="100%" border="1">
+ <tr>
+ <td valign="top" width="50%">
+ <div class="mkwsSwitch"></div>
+ <div class="mkwsLang"></div>
+ <div class="mkwsSearch"></div>
+ <div class="mkwsResults"></div>
+ <div class="mkwsTargets"></div>
+ <div class="mkwsStat"></div>
+ </td>
+ <td valign="top" width="50%">
+ <div class="mkwsSwitch mkwsTeam_2"></div>
+ <div class="mkwsLang mkwsTeam_2"></div>
+ <div class="mkwsSearch mkwsTeam_2"></div>
+ <div class="mkwsResults mkwsTeam_2"></div>
+ <div class="mkwsTargets mkwsTeam_2"></div>
+ <div class="mkwsStat mkwsTeam_2"></div>
+ </td>
+ </tr>
+ </table>
+ <div class="mkwsMOTD">This is the first MOTD</div>
+ <div class="mkwsMOTD mkwsTeam_2">This is the second MOTD</div>
</body>
+-->
</html>