Omit the unnecessary complication of the
[mkws-moved-to-github.git] / examples / htdocs / images.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: Images</title>
7     <link rel="stylesheet" type="text/css" href="//mkws.indexdata.com/mkws.css" />
8     <script type="text/javascript" src="//mkws.indexdata.com/mkws-complete.js"></script>
9     <script class="mkwsTemplate_Summary" type="text/x-handlebars-template">
10       <a href="#" id="{{_id}}" onclick="{{_onclick}}">
11         {{#each md-thumburl}}
12           <img src="{{this}}" alt="{{../md-title}}"/>
13         {{/each}}
14         <br/>
15         {{md-title}}
16       {{#if md-title-remainder}}
17         <span>{{md-title-remainder}}</span>
18       {{/if}}
19       {{#if md-title-responsibility}}
20         <span><i>{{md-title-responsibility}}</i></span>
21       {{/if}}
22       </a>
23     </script>
24     <script type="text/javascript">
25       var mkws_config = {
26         sp_auth_credentials: "mkwsimages/mkwsimages"
27       };
28     </script>
29   </head>
30   <body>
31     <div class='mkwsRecords' autosearch='!param!q'
32         >results will appear here</div>
33   </body>
34 </html>