if状態でチェックインしてほしい。どうやって使うの?
function notification_dialog_box(title,html,icon)
{
var text = '<p><span class="'+icon+'" style="float:left; margin:0 7px 50px 0;"></span>'+ html +'</p>';
var $myDialog = $('<div id="dialog-message"></div>').html(text).dialog({
modal: true, zIndex: 10000, autoOpen:true,width: 'auto', modal: true, resizable: false,title: title,
buttons: {
"OK":function(){$(this).dialog("close"); return true;},
"Cancel":function() {$(this).dialog("close");return false;}
}
});
}
if(notification_dialog_box('Out of designer\'s', 'All Designer\'s are assigned in this project', 'ui-icon ui-icon-info' ))
{
code....
}