';
_html += '
';
_html += '
'+ title +'
';
_html += '
';
_html += '
';
_html += '
';
_html += '
'+ info +'
';
_html += '
';
_html += '';
_html += '
';
var $obj = $(_html);
$obj.appendTo('body').show();
$obj.find('.close')
.bind('click', function(){
_self.layout(0);
$obj.hide().remove();
if(callback){
callback(false);
}
});
$obj.find('.ok')
.bind('click', function(){
_self.layout(0);
$obj.hide().remove();
if(callback){
callback(true);
}
})
},
jConfirm: function(info, title, callback){
var _self = this,
_html = '';
if(typeof(title) == 'function'){
callback = title;
title = '温馨提示';
}else if(title == null){
title = '温馨提示';
}
_self.layout(1);
_html += '