| 1 |
<!doctype html> |
| 2 |
<html lang="en"> |
| 3 |
<head> |
| 4 |
<meta charset="utf-8"> |
| 5 |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 6 |
<meta name="description" content="Alertify.js is a lightweight brower alert and dialog plugin."> |
| 7 |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
| 8 |
<title>alertify.js</title> |
| 9 |
</head> |
| 10 |
<body style="max-width: 800px; padding: 3em; margin: 0 auto;"> |
| 11 |
<h5>Alert Dialog</h5> |
| 12 |
<button id="alert">Try It</button><br> |
| 13 |
<h5>Confirm Dialog</h5> |
| 14 |
<button id="confirm">Try It</button><br> |
| 15 |
<h5>Prompt Dialog</h5> |
| 16 |
<button id="prompt">Try It</button> |
| 17 |
<h5>Custom Labels</h5> |
| 18 |
<button id="labels">Try It</button> |
| 19 |
<h5>Ajax - Multiple Dialog</h5> |
| 20 |
<button id="ajax">Try It</button> |
| 21 |
<h5>Standard Log</h5> |
| 22 |
<button id="notification">Try It</button> |
| 23 |
<h5>Standard Log With HTML</h5> |
| 24 |
<p>HTML works just fine in log messages. Have at it!</p> |
| 25 |
<button id="notification-html">Try It</button> |
| 26 |
<h5>Standard Log with callback</h5> |
| 27 |
<button id="notification-callback">Try It</button> |
| 28 |
<h5>Success Log</h5> |
| 29 |
<button id="success">Try It</button> |
| 30 |
<h5>Success Log with callback</h5> |
| 31 |
<button id="success-callback">Try It</button> |
| 32 |
<h5>Error Log</h5> |
| 33 |
<button id="error">Try It</button> |
| 34 |
<h5>Error Log with callback</h5> |
| 35 |
<button id="error-callback">Try It</button> |
| 36 |
<h5>Closing Log On Click</h5> |
| 37 |
<button id="click-to-close">Try It</button> |
| 38 |
<h5>Disable Log On Click</h5> |
| 39 |
<button id="disable-click-to-close">Try It</button> |
| 40 |
<h5>Hide in 10 seconds</h5> |
| 41 |
<button id="delay">Try It</button> |
| 42 |
<h5>Persistent Log</h5> |
| 43 |
<button id="forever">Try It</button> |
| 44 |
<h5>Maximum Number of Log Messages</h5> |
| 45 |
<button id="max-log-items">Try It</button> |
| 46 |
<h5>Resetting Default Values</h5> |
| 47 |
<button id="reset">Try It</button> |
| 48 |
<script src="js/alertify.js"></script> |
| 49 |
<script src="js/demo.js"></script> |
| 50 |
</body> |
| 51 |
</html> |