X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=doc%2Fmkws-manual.markdown;h=66a666b5047a61187dfc7e04521d779e047a8061;hb=1408a6cadcf092b49ea03ef775a66a3962aa552d;hp=043be03bf145d18e715b797cdd517be6c027774f;hpb=1c692b127d3c54a7bb39121d23319b1225ed7bc4;p=mkws-moved-to-github.git diff --git a/doc/mkws-manual.markdown b/doc/mkws-manual.markdown index 043be03..66a666b 100644 --- a/doc/mkws-manual.markdown +++ b/doc/mkws-manual.markdown @@ -404,9 +404,9 @@ Message of the day Some applications might like to open with content in the area that will subsequently be filled with result-records -- a message of the day, a welcome message or a help page. This can be done by placing an -`mkws-motd` division anywhere on the page. It will be moved into the -`mkws-results` area and initially displayed, but will be hidden when a -search is made. +`mkws-motd` division anywhere on the page. It will initially be moved +into the `mkws-results` area and displayed, but will be hidden as soon +as the first search is made. Popup results with jQuery UI @@ -419,16 +419,16 @@ in a popup. The key part of such an application is this invocation of the MKWS jQuery plugin: -
-
-
+
-
-
The necessary scaffolding can be seen in an example application, -http://example.indexdata.com/index-popup.html +[popup.html](http://example.indexdata.com/popup.html). + +The relevant properties (`popup_width`, etc.) are documented +[below](#jquery-ui-popup-invocation) +in the reference section. Authentication and target configuration @@ -849,7 +849,8 @@ popup_width string 880 Width of the popup window (if used), popup_height string 760 Height of the popup window (if used), in pixels. -popup_button string `input.mkwsButton` (Never change this.) +popup_button string `input.mkwsButton` A click on this selector will trigger the + popup to open popup_modal string 0 Modal confirmation mode. Valid values are 0 or 1 @@ -857,6 +858,8 @@ popup_autoOpen string 1 Open popup window on load. Valid val ---- +You can have more than one mkws-popup widgets on a page. Please use a different +popup_button value to address the right ones. The structure of the HTML generated by the MKWS widgets -------------------------------------------------------