var options = {
title: 'xxx',
content: [
{ type: 'input', placeholder: 'xxx', name: 'xxx', regular: '', errorInfo: 'xxx'},
{ type: 'input', placeholder: 'xx', name: 'xx', regular: '', errorInfo: 'xxx' },
{ type: 'button', name: 'submit', text: 'xx' }
],
footer: [
{ text: 'XX', position: 'center', type: 'light-green', url: 'xxx'},
{ text: 'XX', position: 'right', type: 'dim-gray', url: 'XXX'}
],
onOpen: function() {
//alert('modal open');
},
onClose: function() {
//alert('modal onClose');
},
}
var popup = new LoginPopup.LoginPopup(options)
popup.open();
url