3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4 <title>MKWS demo client</title>
5 <link rel="stylesheet" href="mkwsStyle.css" />
6 <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
8 <script type="text/javascript">
9 mkws_config = { switch_menu: false, lang_menu: false, query_width: 40 };
11 <script type="text/javascript" src="http://mkws.indexdata.com/mkws-complete.js"></script>
12 <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
15 body { font-size: 62.5%; }
16 label, input { display:block; }
17 input.text { margin-bottom:12px; width:95%; padding: .4em; }
18 fieldset { padding:0; border:0; margin-top:25px; }
19 h1 { font-size: 1.2em; margin: .6em 0; }
20 div#users-contain { width: 350px; margin: 20px 0; }
21 div#users-contain table { margin: 1em 0; border-collapse: collapse; width: 100%; }
22 div#users-contain table td, div#users-contain table th { border: 1px solid #eee; padding: .6em 10px; text-align: left; }
23 .ui-dialog .ui-state-error { padding: .3em; }
24 .validateTips { border: 1px solid transparent; padding: 0.3em; }
29 $( "#dialog-form" ).dialog({
38 $( this ).dialog( "close" );
42 // allFields.val( "" ).removeClass( "ui-state-error" );
49 $( "#dialog-form" ).dialog( "open" );
56 <div id="dialog-form" title="Search Box">
57 <script type="text/javascript">
62 <div id="users-contain" class="ui-widget"></div>
64 <button id="create-user">Open Search Box</button>