🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

alert-modal.js is a jQuery plugin that makes it easy to create Bootstrap alerts and modals with custom content and action buttons.

Modal Bootstrap Notification alert

Documentation

bootstrap-modal-alerts

jQuery Plugin emulating the Bootstrap alerts that are modal Contributors: jklein / YoloBits License: MIT

Bootstrap like Alerts that are modal and Popover. Simple to use jQuery plugin. Supports Bootstrap CSS

== Description ==

Simple jQuery plugin for enabling BootStrap style alerts that are popover and modal.

Also supports a single or two button dialog that can be used for Confirmation dialogs and Alerts with a single button.

Callback function feature lets you know when the modal has been dismissed and what button was used to dismiss the dialog. Pass data to the dialog and have it returned to you in the callback.

== Installation and usage == The plugin overview and a description of many of the features go to: http://yolobits.com/bootstrap-modal-alerts/

See the boot-modal-alerts.html file for fully working samples or go to: http://yolobits.com/bootstrap-modal-alert/demo/boot-modal-alerts.html for a demo

  1. include alert-modal.css or alert-modal.min.css into your page
  2. include alert-modal.js or alert-modal.min.js into your page
  3. include bootstrap on your page.
  4. create a div with the class alert-modal
  5. initialize the modal in your jQuery onReady function.
  6. show the modal using the plugin's show method passing it the required json input.

== Frequently Asked Questions ==

  1. How can I change the buttons on the dialog?
  • The buttons use the bootstrap classes "btn" and "btn-primary" so if you override those two classes, you will get the buttons defined by those two CSS classes.

== Upgrade Notice ==

= 1.0.1 =

initial release

== Changelog ==


You May Also Like