X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=tools%2Fhtdocs%2FREADME.markdown;h=c398d66f546691635570d591e7bf120242e7a913;hb=a9f7094799cb6393ea79dfcfec2d4a748bd744f3;hp=6701ab7cc216b08564de3b69ea292600c03bfbb2;hpb=63cac7f34c479f1891dbe399e3cff977f3d76cff;p=mkws-moved-to-github.git diff --git a/tools/htdocs/README.markdown b/tools/htdocs/README.markdown index 6701ab7..c398d66 100644 --- a/tools/htdocs/README.markdown +++ b/tools/htdocs/README.markdown @@ -1,4 +1,4 @@ -% An embryonic MasterKey Widget Set +% The MasterKey Widget Set % Mike Taylor; Wolfram Schneider % 10 July 2013 @@ -6,13 +6,9 @@ Introduction ------------ -This directory contains an embryonic MasterKey Widget Set. The initial -version was based on the "jsdemo" application distributed with -pazpar2, but it is now far removed from those beginnnings. - - -How this works --------------- +This is the MasterKey Widget Set. The initial version was based on the +"jsdemo" application distributed with pazpar2, but it is now far +removed from those beginnnings. As much of the searching functionality as possible is hosted on @@ -22,11 +18,11 @@ can have MasterKey searching with minimal effort. The following files are hosted on `mkws.indexdata.com`: -* `mkws.css` * `mkws.js` * `/pazpar2/js/pz2.js` * `mkws-complete.js` -- a single file consisting of `mkws.js`, jQuery (which it uses), Handlebars (ditto) and `pz2.js` +* `mkws.css` Configuring a client @@ -52,62 +48,35 @@ will be filled in by MKWS: * `
` -- target list, including status * `
` -- summary statistics -At present, MKWS may not work correctly if some of these are -missing. One of the TODOs is to fix it so that it doesn't try to use -whatever is not there, and just uses what is. - You can configure and control the client by creating an `mkws_config` object _before_ loading the widget-set. Here is an example of all possible options: ~~~ - + ~~~ -jQuery plugin ------------------- - -The jQuery plugin version can be used by a single line of JavaScript code: - -~~~ - -~~~ - -put the code in your page at the position where the metasearch should occur. - -Here is an example of all possible options - -~~~ - jQuery.pazpar2({ - "layout": "popup", /* "table" [default], "div", "popup" */ - "id_button": "input#mkwsButton", /* submit button id in search field */ - "id_popup": "#mkwsPopup", /* internal id of popup window */ - "width": 880, /* popup width, should be at least 800 */ - "height": 760 /* popup height, should be at least 600 */ - }); -~~~ - - Supported Browsers ------------------ @@ -159,4 +128,4 @@ Main areas of work: - - - -Copyright © 2013 IndexData ApS. +Copyright 2013 IndexData ApS.