New: same as auto.html, but uses local copy of MKWS.
[mkws-moved-to-github.git] / examples / htdocs / local-auto.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     <meta name="copyright" content="(c) 1999-2013 IndexData ApS, http://indexdata.com" />
7     <title>MKWS demo: Mike's playground</title>
8     <link rel="stylesheet" type="text/css" href="http://x.mkws.indexdata.com/mkws.css" />
9     <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
10     <script type="text/javascript" src="http://x.mkws.indexdata.com/jquery.json-2.4.js"></script>
11     <script type="text/javascript" src="http://x.mkws.indexdata.com/handlebars-v1.1.2.js"></script>
12     <script type="text/javascript" src="http://x.mkws.indexdata.com/pazpar2/js/pz2.js"></script>
13     <script type="text/javascript" src="http://x.mkws.indexdata.com/mkws.js"></script>
14     <style type="text/css">
15       td { vertical-align: top }
16     </style>
17   </head>
18   <body>
19     <h1>A site about stuff</h1>
20     <table border="1" width="100%">
21       <tr>
22         <td width="50%">
23           <h2>Welcome</h2>
24           Main site content goes here.
25         </td>
26         <td width="50%">
27           <h2>News</h2>
28
29
30 <div id='mkwsRecords'
31         autosearch='mike'
32         sort='relevance'
33         targets='pz:id~josiah.brown.edu:210/innopac|connect.indexdata.com:9000/mit_opencourseware'
34 >results will appear here</div>
35
36
37         <div id='mkwsTermlists'/>
38         </td>
39       </tr>
40     </table>
41   </body>
42 </html>