Rename
[mkws-moved-to-github.git] / examples / htdocs / index-jquery.html
index 183d3da..f46a040 100644 (file)
@@ -2,10 +2,20 @@
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <title>MKWS demo: jQuery plugin</title>
-    <link rel="stylesheet" type="text/css" href="http://mkws.indexdata.com/mkwsStyle.css" />
+    <link rel="stylesheet" type="text/css" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
+    <link rel="stylesheet" type="text/css" href="http://mkws.indexdata.com/mkws.css" />
     <script type="text/javascript" src="http://mkws.indexdata.com/mkws-complete.js"></script>
+    <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.min.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>