blockui icon indicating copy to clipboard operation
blockui copied to clipboard

Add Custom css class to growlUI

Open MarcovanMaanen opened this issue 12 years ago • 1 comments

I have made a little change to it:

You can pick a custom css class just by setting the Bool (DifferentCssClasses) to true. and than give the css class name as second condition when you call the growlUI...

Now you can pick a custom class for succes, error, warning and notice messages (may come in handy at some point) with each there own image, color, css.

Only 1 this has changed: even if the option is false you must pass a empty string for a class or just set it to the default class...

Example: // With empty css class string... $.growlUI('Error', '', 'the message'); // With the default css class... $.growlUI('Error', 'growlUI', 'the message'); // With a custom css class... $.growlUI('Error', 'pick_a_css_class', 'the message');

MarcovanMaanen avatar Oct 03 '12 21:10 MarcovanMaanen

I created a fork with all PR I saw here https://github.com/DiegoYungh/blockui/commits/master

In the near future I will probably create a block feature on top of blockui and open to pull requests

I set the commit message to your PR but was this one: Issue #36 : #37 opened on 15 Aug 2012 by wiggin15

I could not merge your PR because you changed the entire file.

DiegoYungh avatar Nov 21 '14 21:11 DiegoYungh