|
Title: Messanger Post by: anugrast on September 10, 2016, 08:45:32 PM How to make different style for each messager alert type.
I mean, if we use $.messager.alert('My Title','Here is a error message!','error') a background color is red (header and body) $.messager.alert('My Title','Here is a error message!','warning') a background color is orange (header and body) Please help Title: Re: Messanger Post by: stworthy on September 11, 2016, 05:00:41 PM You can define different CSS classes that will be used to assign to the 'cls' property for the message dialog. Please try this code:
Code: <style type="text/css"> Apply this 'cls1' CSS class to the message dialog. Code: $.messager.alert({Title: Re: Messanger Post by: anugrast on September 12, 2016, 01:48:02 AM Thanks stworthy... you're the best...
|