css - jQuery UI dialog background -
i'm trying fill background of dialog without success.
as per picture getting transparency.
the css have is:
.ui-dialog { background-color: #e1e1e1; } .ui-dialog .ui-dialog-content { background-color: #e1e1e1; }
but without success.
i overriding alert()
function can use alert()
part of scripts:
window.alert = function (message, callback) { $('<div />').text(message).dialog({ modal:true, title:'ddb', dialogclass: 'alert', show: { effect: "scale", duration: 200 }, hide: { effect: "explode", duration: 300 }, buttons: { 'ok':function(){ $(this).dialog('close'); callback(); } }, position: { my: 'center bottom', at: 'center bottom-30%', //of: $("#mainspace"), }, close:function(){ $(this).dialog('destroy').remove(); } }); }
Comments
Post a Comment