Use Flickr instead of Google images.
[mkws-moved-to-github.git] / examples / htdocs / mike.html
1 <?xml version="1.0"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4   <head>
5     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6     <title>MKWS demo: Mike's playground</title>
7     <link rel="stylesheet" type="text/css" href="http://x.mkws.indexdata.com/mkws.css" />
8     <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
9     <script type="text/javascript" src="http://x.mkws.indexdata.com/jquery.json-2.4.js"></script>
10     <script type="text/javascript" src="http://x.mkws.indexdata.com/handlebars-v1.1.2.js"></script>
11     <script type="text/javascript" src="http://x.mkws.indexdata.com/pazpar2/js/pz2.js"></script>
12     <script type="text/javascript">mkws_config = { perpage_default: 1 }</script>
13     <script type="text/javascript" src="http://x.mkws.indexdata.com/mkws.js"></script>
14     <script class="mkwsTemplate_Summary" type="text/x-handlebars-template">
15       <a href="#" id="{{_id}}" onclick="{{_onclick}}">
16         {{#first md-thumburl}}
17           <img src="{{this}}" alt="{{../md-title}}"/>
18         {{/first}}
19         <br/>
20       </a>
21     </script>
22   </head>
23   <body>
24     <div class='mkwsRecords' autosearch='lolcat'
25         targets='pz:id=connect.indexdata.com:9000/flickr_api'
26         >results will appear here</div>
27   </body>
28 </html>