toast_notifications.js 849 B

1234567891011121314151617181920212223242526272829303132333435
  1. //function login_toast_noti(message) {
  2. // $.toast({
  3. // title: 'Notice!',
  4. // subtitle: '11 mins ago',
  5. // content: 'This is a toast message.',
  6. // type: 'info',
  7. // delay: 3000,
  8. // dismissible: true,
  9. // img: {
  10. // src: 'image.png',
  11. // class: 'rounded',
  12. // title: '<a href="https://www.jqueryscript.net/tags.php?/Thumbnail/">Thumbnail</a> Title',
  13. // alt: 'Alternative'
  14. // }
  15. // });
  16. //}
  17. //$(document).ready(function() {
  18. // toastr.options.timeOut = 5000; // 1.5s
  19. //toastr.info('Page Loaded!');
  20. // for success - green box
  21. //toastr.success('Success messages');
  22. //// for errors - red box
  23. //toastr.error(message);
  24. //// for warning - orange box
  25. //toastr.warning('warning messages');
  26. //// for info - blue box
  27. //toastr.info('info messages');
  28. //});