UNPKG

jqwidgets-framework

Version:

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

33 lines (30 loc) 1.84 kB
<!DOCTYPE html> <html> <head> <title id="Description">jqxNotification Fluid Size Example. The width of the Notification in this demo is in Percentages.</title> <meta name="keywords" content="fluid height, fluid size, fluid width, jQuery notification, jQWidgets, jqxNotification, notification, percent, percentage, unobtrusive notification" /> <meta name="description" content="jqxNotification Fluid Size Example. The width of the Notification in this demo is in Percentages." /> <link rel="stylesheet" href="../../../jqwidgets/styles/jqx.base.css" type="text/css" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <script type="text/javascript" src="../../scripts/jquery-1.10.2.min.js"></script> <script type="text/javascript" src="../../../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../../../jqwidgets/jqxnotification.js"></script> <script type="text/javascript" src="../../../scripts/demos.js"></script> <script type="text/javascript"> $(document).ready(function () { $("#jqxNotification").jqxNotification({ width: "80%", position: "top-left", opacity: 0.9, autoOpen: true, animationOpenDelay: 800, autoClose: false, template: "success" }); }); </script> </head> <body> <div id="jqxNotification"> This notification's width is 80%.</div> <div style="position: absolute; bottom: 5px; right: 5px;"> <a href="https://www.jqwidgets.com/" alt="https://www.jqwidgets.com/"><img alt="https://www.jqwidgets.com/" title="https://www.jqwidgets.com/" src="https://www.jqwidgets.com/wp-content/design/i/logo-jqwidgets.png"/></a> </div> </body> </html>