Ignore generated file README.html
[mkws-moved-to-github.git] / tools / htdocs / README
index bcd492c..56afebc 100644 (file)
@@ -12,7 +12,7 @@ The goal is to make it that as much of the searching functionality as
 possible is hosted on
        http://mkws.indexdata.com/
 so that very simple websites such as
-       http://somesite.indexdata.com/
+       http://example.indexdata.com/
 can have MasterKey searching with minimal effort.
 
 The following files must be hosted on mkws.indexdata.com:
@@ -94,6 +94,26 @@ Here is an example of all possible options
 
 Note: the mkws_config object which must be loaded before the mkws.js and pz2api.js files.
 
+
+jQuery plugin
+------------------
+
+The jQuery plugin version, consisting of a single line of JavaScript code
+
+  <script>jQuery.pazpar2();</script>
+
+put the code in your page at the position where the metasearch should occours.
+
+Here is an example of all possible options
+
+  jQuery.pazpar2({"layout": "popup",   /* "table", "div", "popup", default is table */
+                 "id_button": "input#mkwsButton", /* submit button id in search field */
+                 "id_popup": "#mkwsPopup",        /* interal id of popup window */
+                 "width": 880,         /* popup width, should be at least  800 */ 
+                 "height": 760         /* popup height, should be at least 600 */
+  });
+
+
 Supported Browsers
 ------------------