3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4 <title>MKWS demo: popup search box</title>
6 <link rel="stylesheet" href="http://mkws.indexdata.com/mkwsStyle.css" />
7 <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
9 <script type="text/javascript">
11 service_proxy_url : "/service-proxy/",
12 service_proxy_auth : "/service-proxy-auth/",
20 <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
21 <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
23 <script type="text/javascript" src="libjs-pz2/pz2api.1.js"></script>
24 <script type="text/javascript" src="mkws.js"></script>
27 body { font-size: 62.5%; }
28 label, input { display:block; }
29 input.text { margin-bottom:12px; width:95%; padding: .4em; }
30 fieldset { padding:0; border:0; margin-top:25px; }
31 h1 { font-size: 1.2em; margin: .6em 0; }
32 div#users-contain { width: 350px; margin: 20px 0; }
33 div#users-contain table { margin: 1em 0; border-collapse: collapse; width: 100%; }
34 div#users-contain table td, div#users-contain table th { border: 1px solid #eee; padding: .6em 10px; text-align: left; }
35 .ui-dialog .ui-state-error { padding: .3em; }
36 .validateTips { border: 1px solid transparent; padding: 0.3em; }
41 $( "#dialog-form" ).dialog({
50 $( this ).dialog( "close" );
54 // allFields.val( "" ).removeClass( "ui-state-error" );
61 $( "#dialog-form" ).dialog( "open" );
68 <div id="dialog-form" title="Search Box">
69 <script type="text/javascript">
70 jQuery.pazpar2({ "layout":""} );
74 <div id="users-contain" class="ui-widget"></div>
76 <button id="create-user">Open Search Box</button>