jgrowl-demo.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /* jGrowl notifications */
  2. $(function() {
  3. $('.growl-example-1').click(function() {
  4. $.jGrowl("jGrowl notification example with lorem ipsum dolor sic amet.", {
  5. sticky: false,
  6. position: 'top-right',
  7. theme: 'bg-blue-alt'
  8. });
  9. });
  10. $('.growl-example-2').click(function() {
  11. $.jGrowl("jGrowl notification example with lorem ipsum dolor sic amet.", {
  12. sticky: false,
  13. position: 'top-right',
  14. theme: 'bg-azure'
  15. });
  16. });
  17. $('.growl-example-3').click(function() {
  18. $.jGrowl("jGrowl notification example with lorem ipsum dolor sic amet.", {
  19. sticky: false,
  20. position: 'top-right',
  21. theme: 'bg-orange'
  22. });
  23. });
  24. $('.growl-example-4').click(function() {
  25. $.jGrowl("jGrowl notification example with lorem ipsum dolor sic amet.", {
  26. sticky: false,
  27. position: 'top-right',
  28. theme: 'bg-gray'
  29. });
  30. });
  31. $('.growl-example-5').click(function() {
  32. $.jGrowl("jGrowl notification example with lorem ipsum dolor sic amet.", {
  33. sticky: false,
  34. position: 'top-right',
  35. theme: 'bg-green'
  36. });
  37. });
  38. $('.growl-example-6').click(function() {
  39. $.jGrowl("jGrowl notification example with lorem ipsum dolor sic amet.", {
  40. sticky: false,
  41. position: 'top-right',
  42. theme: 'bg-red'
  43. });
  44. });
  45. });