Add <noscript/> test
[pazpar2-moved-to-github.git] / www / jsdemo / index.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
4 <html xmlns="http://www.w3.org/1999/xhtml">
5  
6  <head>
7   <title>Pazpar2 demo client</title>
8   <link rel="stylesheet" href="styles.css"></link>
9   <script type="text/javascript" src="/pazpar2/js/pz2.js"></script>
10   <script type="text/javascript" src="example_client.js"></script>
11  </head>
12  
13  <body onload="domReady();">
14
15   <div id="noscript">
16     <noscript>
17         <p>Your browser does not support or allow execution of scripts required by this site to work properly.</p>
18         <p>If you run Internet Explorer 6+ or FireFox 2.0+ and see this message ensure the JavaScript is enabled in your browser.</p>
19         <p>If you run Internet Explorer 7 add the site to the Trusted Sites group.</p>
20         <p>Finally, check your personal firewall settings.</p>
21     </noscript>
22   </div>
23
24   <div id="switchmenu">
25    <a href="#" onclick="switchView('recordview')">Record Browser</a>
26    <span> | </span>
27    <a href="#" onclick="switchView('targetview')">Target Info</a>
28   </div>
29  
30   <div id="heading">
31    <table width="100%" border="0" cellpadding="6" cellspacing="0">
32     <tr>
33      <td width="250" height="100" align="center"><b>PAZPAR2</b></td>
34      <td>
35       <form id="searchForm" name="search">
36        <input id="query" type="text" size="50"/>
37        <input id="button" type="submit" value="Search"/>
38       </form>
39      </td>
40      <td>
41       <a href="http://www.indexdata.com"><img border="0" title="IndexData home page" src="id.gif" align="right" alt="" /></a>
42      </td>
43     </tr>
44    </table>
45   </div>
46   
47   <div id="recordview">
48    <table width="100%" border="0" cellpadding="6" cellspacing="0">
49     <tr>
50      <td width="250" valign="top">
51       <div id="termlist"></div>
52      </td>
53      <td valign="top">
54       <div id="ranking">
55        <form name="select">
56         Sort by
57         <select name="sort" id="sort">
58          <option value="relevance" selected="selected">relevance</option>
59          <option value="title:1">title</option>
60          <option value="date:0">newest</option>
61          <option value="date:1">oldest</option>
62         </select>
63         and show 
64         <select name="perpage" id="perpage">
65          <option value="10">10</option>
66          <option value="20" selected="selected">20</option>
67          <option value="30">30</option>
68          <option value="50">50</option>
69         </select>
70         per page.
71        </form>
72       </div>
73       <div id="pager"></div>
74       <div id="navi"></div>
75       <div id="results"></div>
76      </td>
77     </tr>
78    </table>
79   </div>
80   
81   <div id="targetview" style="display: none">
82    <div id="bytarget">
83        No information available yet.
84    </div>
85   </div>
86   
87   <div id="footer">
88       <div id="stat"></div>
89       <span>Copyright &copy; 1999-2008 by <a href="http://www.indexdata.com">IndexData</a></span> 
90   </div>
91
92  </body>
93 </html>