No longer necessary to include mkws-widget-ru.js.
[mkws-moved-to-github.git] / examples / htdocs / 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 Index Data ApS, http://indexdata.com" />
7     <title>MKWS demo: Automatic search</title>
8     <link rel="stylesheet" type="text/css" href="//mkws.indexdata.com/mkws.css" />
9     <script type="text/javascript" src="//mkws.indexdata.com/mkws-complete.js"></script>
10     <style type="text/css">
11       td { vertical-align: top; overflow: word-break }
12     </style>
13   </head>
14   <body>
15     <h1>A site about stuff</h1>
16     <table border="1" width="100%" style="table-layout:fixed">
17       <col width="50%"/>
18       <col width="50%"/>
19       <tr>
20         <td>
21           <h2>Welcome</h2>
22           Main site content goes here.
23         </td>
24         <td>
25           <h2>News</h2>
26
27
28 <div class='mkws-records'
29         autosearch='sushi'
30         sort='relevance'
31         targets='pz:id~josiah.brown.edu:210/innopac|connect.indexdata.com:9000/mit_opencourseware|lui.indexdata.com:8080/solr4/select?fq=database:3602'
32 >results will appear here</div>
33
34         </td>
35       </tr>
36     </table>
37     <p style="color:grey">
38       <a href="http://mkws.indexdata.com/">About MKWS</p>
39     </p>
40     <script type="text/javascript">
41       var mkws_config = {
42         sp_auth_credentials: "mkwstest/mkwstest"
43       };
44     </script>
45   </body>
46 </html>