Alert7.js is a pure JavaScript component library for creating iOS-style alerts or for confirming dialogs on a web page.
ios modal presentation styles, ios modal popup, ios alert design, ios alert dialog
Realistic IOS Web Based in Pure CSS / HTML | Web iOS Mockup
How to make use of it:
Simply include the Alert7.js script on the HTML page.
<script src="alert7.min.js"></script>
Create a basic alert dialog.
// Alert7.alert( titleStr, messageStr, btn1Str, btn1Handler, btn2Str, btn2Handler, ... ); Alert7.alert('This is Title');
Create a confirmation dialog.
var _alertA = new Alert7(); _alertA.setTitle("Alert7 confirm"); _alertA.setMessage("Right?"); _alertA.setType(Alert7.TYPE_CONFIRM); _alertA.addAction("No", function(){}); _alertA.addAction("Yes", function(){}); _alertA.present();
iOS Style Popup Boxes, Alert7.js Plugin/Github
See Demo And Download
Official Website(CodyWildtyto): Click Here
This superior jQuery/javascript plugin is developed by CodyWildtyto. For extra Advanced usage, please go to the official website.