Don't use the compound results widget for prettysimple demo
[mkws-moved-to-github.git] / examples / htdocs / intro.html
1 <html>
2   <head>
3     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4     <title>MKWS demo: heading changes when search results appear</title>
5     <script type="text/javascript">
6       var mkws_config = { sp_auth_credentials: "credo/emu" };
7     </script>
8     <link rel="stylesheet" type="text/css" href="tools/htdocs/mkws.css" />
9     <script type="text/javascript" src="tools/htdocs/jquery-1.10.0.min.js"></script>
10     <script type="text/javascript" src="tools/htdocs/jquery.json-2.4.js"></script>
11     <script type="text/javascript" src="tools/htdocs/handlebars-v2.0.0.js"></script>
12     <script type="text/javascript" src="tools/htdocs/pz2.js"></script>
13     <script type="text/javascript" src="src/mkws-handlebars.js"></script>
14     <script type="text/javascript" src="src/mkws-core.js"></script>
15     <script type="text/javascript" src="src/mkws-team.js"></script>
16     <script type="text/javascript" src="src/mkws-filter.js"></script>
17     <script type="text/javascript" src="src/mkws-widget.js"></script>
18     <script type="text/javascript" src="src/mkws-widget-main.js"></script>
19     <script type="text/javascript" src="src/mkws-widget-termlists.js"></script>
20     <script type="text/javascript" src="src/mkws-widget-authname.js"></script>
21     <script type="text/javascript" src="src/mkws-widget-categories.js"></script>
22     <script type="text/javascript" src="src/mkws-widget-log.js"></script>
23     <script type="text/javascript" src="src/mkws-widget-record.js"></script>
24     <script type="text/javascript" src="src/mkws-widget-reference.js"></script>
25     <script type="text/javascript" src="src/mkws-widget-builder.js"></script>
26     <script type="text/javascript" src="src/mkws-templates.js"></script>
27   </head>
28   <body>
29     <script type="text/javascript">
30      mkws.registerWidgetType('Intro', function() {
31       var that = this;
32       this.team.queue("firstrecords").subscribe(function(count) {
33         that.node.html("Results from the MKWS metasearch widget");
34       });
35      });
36     </script>
37     <div class="mkws-intro">Starting the MKWS metasearch widget</div>
38     <div class="mkws-switch"></div>
39     <div class="mkws-lang"></div>
40     <div class="mkws-search"></div>
41     <div class="mkws-results"></div>
42     <div class="mkws-targets"></div>
43     <div class="mkws-stat"></div>
44     <div class="mkws-builder"></div>
45   </body>
46 </html>