Code

A JavaScript Notification Service

A JavaScript Notification Service

A JavaScript plugin to display notifications in your application. The Notification Service provides a global notify() function that is accessible from everywhere in your JavaScript application. A notification consists of a title and a message. You can choose between four different types of notifications: success, warning, error, and info. Each type has a different style. Let the notifications appear in any corner of the screen or on the top-center or bottom-center.

The Notification Service includes a JavaScript file and a CSS file. Furthermore, an HTML file is included that provides you with information about the setup and usage.

Please note that the HTML and CSS files of the preview website are not included.

Main Features:

  • Four different types of notifications: success, warning, error, and info
  • Responsive design to work on mobile
  • Just call the notify() function to show a notification on your website
  • Let the notifications appear in any corner of the screen or on the top-center or bottom-center
  • Display multiple notifications at once
  • No dependencies required

Customizations:

  • Set the time how long notifications are visible to the user.
  • Set the maximum number of notifications that can be displayed at the same time.
  • Set the position where you want the notifications to appear.
  • You can change the color codes of the notification types in the CSS file to match your styles.
by
by
by
by
by
by