jyoungblood / smoke.js

framework-agnostic styled alert system for javascript
http://smoke.js.org/
930 stars 107 forks source link

Use different themes for the same page #16

Closed spacenick closed 13 years ago

spacenick commented 13 years ago

Would it be possible to give as parameters custom class names? Thanks by advance

jyoungblood commented 13 years ago

you think something like this would do the trick?

smoke.alert('hi',{class:"myClassName"});
spacenick commented 13 years ago

Yeah it would be really cool !

jyoungblood commented 13 years ago

added this functionality. let me know if it needs any work. thanks for the suggestion.

spacenick commented 13 years ago

Thank you very much. I'm trying this asap ! You rock.