More Popup Options

Below is another popup but with more options. You do not need to specify all the options, but only the ones needed.
function popup() { w2popup.open({ title : 'Popup Title', body : '
This is text inside the popup
', buttons : ' '+ '', width : 500, height : 300, overflow : 'hidden', color : '#333', speed : '0.3', opacity : '0.8', modal : true, showClose : true, showMax : true, onOpen : function (event) { console.log('open'); }, onClose : function (event) { console.log('close'); }, onMax : function (event) { console.log('max'); }, onMin : function (event) { console.log('min'); }, onKeydown : function (event) { console.log('keydown'); } }); }