Feature-rich Messaging Windows for Alerts, Dialogs, Lightboxes Library | jQuery.madWindow

JQuery.madWindow is a lightweight (8.46 KB) plugin that provides powerful message windows for alerts, dialogs, simplified boxes, and more. It includes a variety of behaviors to control the open, display, and close functions, and expandable features for changing appearance.

Content can be passed to simple message windows, or madWindow can be linked to an existing DIV element for simplified boxes, videos, or web forms.

Key Features:

  • Personalized title and content
  • 6 options for placement.
  • Auto refuses after a similar time limit for baking.
  • 6 built-in popup themes.
  • Content uploading is allowed from within the document.
  • Supports cookies. Perfect for easy-to-use pop-up or cookie consent dialog.

How to make use of it:

1. To get began, insert jQuery library and the madWindow plugin’s information into the doc.

<script src="/path/to/cdn/jquery.min.js"></script>
<script src="/path/to/dist/scripts/jQuery.madWindow.min.js"></script>
<link rel="stylesheet" href="/path/to/dist/styles/jQuery.madWindow.min.css" />

2. Create a primary dialog field that shows in the midst of the display screen.

  messageTitle: "Basic Dialog",
  messageContent: "Dialog Content"

3. Create an alert dialog field with an OK button that slides from the underside of the display screen.

  messageTitle: "Basic Dialog",
  messageContent: "Dialog Content",
  messageButtonShow: true,
  behavior: "bottomCenter"

4. Create a toast message that can auto dismiss after 3 seconds.

$("#toast").on('click', function () {
    messageTitle: "Toast",
    messageContent: "Toast Message Here",
    theme: "alert",
    behavior: "topRight",
    closeTimeout: 10,
    width: 400

5. Create a verify dialog and load content material from inline HTML.

<div id="confirm-content" class="mad-window" style="display: none">
  <div class="container">
    <div class="mad-window-title">Confirm Dialog.</div>
    <div class="mad-window-content">
      <p>Are You Sure?</p>
      <div class="mad-window-actionButton">OK</div>
      <div class="mad-window-cancelButton">Cancel</div>
  theme: "confirm",
  behavior: "bottomCenter"
$("#confirm-content .mad-window-actionButton").click(function () {

6. Possible close button themes:

  messageTitle: "Basic Dialog",
  messageContent: "Dialog Content",
  theme: "alert fat-close"

7. All default configuration choices and callback capabilities.

  messageTitle: null,
  messageContent: null,
  messageButtonShow: false,
  messageButtonLabel: "Ok",
  theme: "default",
  behavior: "autoCenter",
  cookieName: "mad-cookie",
  expireDays: 0,
  width: 400,
  closePadding: 0,
  speed: 500,
  modal: false,
  modalClose: false,
  modalSpeed: 250,
  disableScroll: false,
  disableMethod: "auto",
  openDelay: 0,
  closeTimeout: 0,
  openCallback: function() {},
  closeCallback: function() {}

Feature-rich Modal/Dialog/Notification Library, jQuery.madWindow Plugin/Github

See Demo And Download

Official Website(BrianPMucha): Click Here

This superior jQuery/javascript plugin is developed by BrianPMucha. For extra advanced usage, please go to the official website.

Related Posts


Adding Zoom-on-Wheel and Pan-on-Drag to Inline SVG Elements

Vanilla-js module for adding zoom and panning behavior when dragging to SVG embedded elements. A lightweight Vanilla JavaScript plugin that enables zoom and pan functions on an…


Sorting HTML Table Vanilla JavaScript Library | Sortable.js

Sortable – Small JS vanilla table sorter makes any table with class = “sortable“, er, sortable. That is, the user can click the table header and change…


WYSIWYG Rich Text Editor With jQuery And FontAwesome | RichText

RichText jQuery implementation for WYSIWYG Rich Text Editor which uses Font Awesome Iconic Font for editor icons. It is licensed under AGPL-3.0. Initialize editor Simply call .richText() on your jQuery(‘textarea’) or jQuery(‘input’)…


[Autocomplete] Email Domain Suggestions Like Gmail, Outlook, or More | email-genie

Email Genie allows auto-completion in the email field by providing a list of domain suggestions (gmail.com, outlook.com, etc.). This package is lightweight, flexible, compatible with libraries (jQuery,…


[Generator] JavaScript Library for Creating Squircley Magic ✨ | squircley.js

squircley.js is the core magic of Squirclular ✨ from https://squircley.app wrapped in a simple 0-dependency JavaScript library. squircley.js can generate SVG files, add square backgrounds to DOM…