[ ] jQuery jdDialog. |
if(confirm('') ) {...}
$('#test').click(function() { ...
$(this).jdDialogs('confirm',1,['?',''],fncname)
if(! $(this).jdDialogs('confirm',1,['?','']) ) return;
if( $(this).jdDialogs('confirm',1,['?','']) ) {
...
}
switch( $(this).jdDialogs('confirm',1,['?','']) ) {
case 1: ...;
default: return;
}
$(this).jdDialogs('alert',0,['!','Project'])
if(! $(this).jdDialogs('alert',0,['!',project]) ) return;
alert(' ');
$(id).data(fname,value);
$('.jdModalBg').detach().fadeIn(10,function() {
if(!!fncdo) window[fncdo]();
methods.jdReclick(id);
$(this).jdDialogs('confirm2bttn',0,[' ',' 3',' ',' '])
confirm2bttn : function(fid,data,fname) {
return methods.jdDialog('Confirm2bttn',fid,data,$(this),fname);
}
case 'Confirm2bttn':
var bttntext1 = data[2];
var bttntext2 = data[3];
jdBttns = ''+
''+
'';
clClass = 'jdClose0';
break;
.on('click','.jdOk2', function() {
methods.jdSetAnswer(2,$(this));
})
switch($(this).jdDialogs('confirm2bttn',0,[' ',' 3',' ',' '])) {
case 0: return;
case 1:
alert(' ');
break;
case 2:
alert(' ');
break;
default:
.jdDialogConfirm2bttn {
min-width:380px;
max-width:450px;
}
.jdDialogConfirm2bttn .jdText {
min-height:60px;
}
.jdDialogConfirm2bttn .jdHeader{
background-color: hsl(115,63%,15%);
color:#F0C800;
}
.jdDialogConfirm2bttn .jdHeader .jdClose{
background-color: hsl(114,58%,22%);
color:#F5DA50;
}