UNPKG

jqwidgets-framework

Version:

jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.

57 lines (50 loc) 2.25 kB
<!DOCTYPE html> <html> <head> <title id="Description"> This demo shows the default functionality of jqxNotification. Multiple instances of the same notification can be opened at the same time. TypeScript example. </title> <meta name="keywords" content="jQuery notification, jQWidgets, jqxNotification, notification, unobtrusive notification" /> <meta name="description" content="This demo shows the default functionality of jqxNotification. Multiple instances of the same notification can be opened at the same time." /> <!-- 1. Load references --> <link rel="stylesheet" href="../../../jqwidgets/styles/jqx.base.css" type="text/css" /> <script src="../../../scripts/jquery-1.11.1.min.js"></script> <script src="../../../scripts/demos.js"></script> <script src="../../../jqwidgets/jqxcore.js"></script> <script src="../../../jqwidgets/jqxnotification.js"></script> <script src="../../../jqwidgets/jqxbuttons.js"></script> <script src="typescript-notification.js"></script> <script type="text/javascript" src="../../../scripts/demos.js"></script> <!-- 2. Create initialization --> <script> $(document).ready(function () { createNotification('#messageNotification', '#timeNotification', '#openMessageNotification', '#openTimeNotification', 'currentTime'); }); </script> </head> <!-- 3. Display the application --> <body> <div class="example-description"> This demo shows the default functionality of jqxNotification. Multiple instances of the same notification can be opened at the same time. TypeScript example. </div> <!--Notifications--> <div id="messageNotification"> <div> Welcome to our website. </div> </div> <div id="timeNotification"> <div>Current time: <span id="currentTime" style="font-weight: bold;"></span>.</div> </div> <!--Layout--> <button id="openMessageNotification"> Open a message notification </button> <br /> <button id="openTimeNotification" style="margin-top: 10px;"> Open a current time notification </button> </body> </html>