forked from fabien-d/alertify.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
25 lines (24 loc) · 708 Bytes
/
index.html
File metadata and controls
25 lines (24 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<HTML>
<HEAD>
<script src="src/alertify.js"></script>
<link rel="stylesheet" type="text/css" href="themes/alertify.core.css">
<link rel="stylesheet" type="text/css" href="themes/alertify.bootstrap.css">
</HEAD>
<BODY>
<script type="text/javascript">
function success(){
alertify.success("success! ;)");
}
function error(){
alertify.error("OH NOSE =`(");
}
function custom(){
alertify.custom = alertify.extend( "custom" );
alertify.custom( "message" );
}
</script>
<input type="button" onclick="success()" value="Success">
<input type="button" onclick="error()" value="Error">
<input type="button" onclick="custom()" value="Custome">
</BODY>
</HTML>