projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
1e3ae33
)
jQuery example uses popup (but does not work).
author
Mike Taylor
<mike@indexdata.com>
Thu, 22 Aug 2013 09:58:16 +0000
(10:58 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 22 Aug 2013 09:58:16 +0000
(10:58 +0100)
examples/htdocs/index-jquery.html
patch
|
blob
|
history
diff --git
a/examples/htdocs/index-jquery.html
b/examples/htdocs/index-jquery.html
index
183d3da
..
76529dc
100644
(file)
--- a/
examples/htdocs/index-jquery.html
+++ b/
examples/htdocs/index-jquery.html
@@
-6,6
+6,14
@@
<script type="text/javascript" src="http://mkws.indexdata.com/mkws-complete.js"></script>
</head>
<body>
<script type="text/javascript" src="http://mkws.indexdata.com/mkws-complete.js"></script>
</head>
<body>
- <script type="text/javascript">jQuery.pazpar2()</script>
+ <script type="text/javascript">
+ 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 */
+ });
+ </script>
</body>
</html>
</body>
</html>