jQuery.pazpar2({ "layout":"popup", width: 800, height: 500 } );
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>MKWS demo: popup search box</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>MKWS demo: popup search box</title>
- <link rel="stylesheet" href="http://mkws.indexdata.com/mkwsStyle.css" />
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
+ <link rel="stylesheet" href="http://mkws.indexdata.com/mkwsStyle.css" />
<script type="text/javascript">
mkws_config = {
<script type="text/javascript">
mkws_config = {
</head>
<body>
<script type="text/javascript">
</head>
<body>
<script type="text/javascript">
- jQuery.pazpar2({ "layout":"popup"} );
+ jQuery.pazpar2({ "layout":"popup", width: 800, height: 500 } );
});
function init_popup(obj) {
});
function init_popup(obj) {
- var config = obj && obj.config ? obj.config : {};
+ var config = obj ? obj : {};
var height = config.height || 760;
var width = config.width || 880;
var height = config.height || 760;
var width = config.width || 880;