Implementing Jquery Notification Plugin.
💻 coding

Implementing Jquery Notification Plugin.

1 min read 125 words
1 min read
ShareWhatsAppPost on X
  • 1The jQuery notification plugin enhances web applications with four notification types: Success, Error, Warning, and Information.
  • 2Implementation requires including jQuery and notification libraries, along with the corresponding CSS file in your document.
  • 3The showNotification() function is called with parameters to display notifications, making it easy to use.

AI-generated summary · May not capture all nuances

Key Insight
AskGif

"The jQuery notification plugin enhances web applications with four notification types: Success, Error, Warning, and Information."

Implementing Jquery Notification Plugin.

Introducing a new jQuery notification plugin, it helps better and enriches the message notification system for your web application. This plugin contains four types of notification systems such as Success, Error, Warning, and Information with a rich user interface. Very easy to implement just follow the steps.

The Basic Setup

1. Include the jQuery and notification libraries into your document

<script src="jquery.js"></script>
<script src="js/jquery_notification_v.1.js"> </script>

2. Include the notification CSS into your document

<link href="css/jquery_notification.css" type="text/css" rel="stylesheet"/>

3. Call this showNotification() function in by passing parameters

showNotification(params);

Example Usage

<html>
<head>
<link href="css/jquery_notification.css" type="text/css" rel="stylesheet"/> 
<script src="jquery.js"></script>
<script type="text/javascript" src="js/jquery_notification_v.1.js"></script> 
<script type="text/javascript">
$(document).ready(function(){
showNotification({
message: "This is sample notification message",
type: "success",
autoClose: true,
duration: 5
});
});
</script>
</head>
<body>
..................
..................
</body>
</html>

Enjoyed this article?

Share it with someone who'd find it useful.

ShareWhatsAppPost on X

AskGif

Published on 22 August 2019 · 1 min read · 125 words

Part of AskGif Blog · coding

You might also like

Implementing Jquery Notification Plugin. | AskGif Blog