<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>MKWS demo: Reference Universe widget</title>
- <link rel="stylesheet" type="text/css" href="//x.mkws.indexdata.com/mkws.css"></script>
+ <link rel="stylesheet" type="text/css" href="//x.mkws.indexdata.com/mkws.css" />
<script type="text/javascript">
var mkws_config = {
- //service_proxy_auth: "//mkws.indexdata.com/service-proxy-credoauth"
- service_proxy_auth: "//mkws.indexdata.com/service-proxy/?command=auth&action=login&username=credo&password=emu",
+ service_proxy_auth: "//mkws.indexdata.com/service-proxy/?command=auth&action=check,login&username=mkwstest&password=mkwstest"
};
</script>
<script type="text/javascript" src="//code.jquery.com/jquery-1.10.0.min.js"></script>
<div class="mkwsLang"></div>
<div class="mkwsProgress"></div>
<div class="mkwsSearch"></div>
- <div class="mkwsResults"></div>
+ <div class="mkwsResults" autosearch="!param!q" targets="!param!t"></div>
<div class="mkwsTargets"></div>
<div class="mkwsStat"></div>
<div class="mkwsBuilder"></div>
</body>
+ <script class="mkwsTemplate_facetTitle-Sources" type="text/x-handlebars-template">
+ <a href="?q={{query}}">Targets</a>
+ </script>
+ <script class="mkwsTemplate_facet-Sources" type="text/x-handlebars-template">
+ <a href="mike2.html?q={{query}}&t={{field}}">{{term}}</a>
+ <span>{{count}}</span>
+ </script>
</html>