-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample.html
More file actions
36 lines (33 loc) · 2.1 KB
/
example.html
File metadata and controls
36 lines (33 loc) · 2.1 KB
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
26
27
28
29
30
31
32
33
34
35
36
<html>
<head>
<title>Example Implementation</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="alMainAlert/alMainAlert.js"></script>
<link rel="stylesheet" type="text/css" href="alMainAlert/css/alMainAlert.css" />
<style>
html, body {
padding: 0px;
margin: 0px;
}
.content {
margin: 20px;
}
</style>
</head>
<body>
<div class="content">
<h1>AlMainAlert Example</h1>
<b>Overlay</b><br />
<input type="button" onclick="$.alMainAlert({message: 'Testing a really long message this is a really long message testing a really long message blah blah blah blahTesting a really long message this is a really long message testing a really long message blah blah blah blahTesting a really long message this is a really long message testing a really long message blah blah blah blah'});" value="Add Alert Long Message" />
<input type="button" onclick="$.alMainAlert({message: 'Test Alert'});" value="Add Alert" />
<input type="button" onclick="$.alMainAlert();" value="Add Alert Default No Settings" />
<input type="button" onclick="$.alMainAlert({message: 'Example Error', class: 'alMainAlertError'});" value="Add Alert Error" /><br />
<br />
<b>Block</b><br />
<input type="button" onclick="$.alMainAlert({message: 'Testing a really long message this is a really long message testing a really long message blah blah blah blahTesting a really long message this is a really long message testing a really long message blah blah blah blahTesting a really long message this is a really long message testing a really long message blah blah blah blah', type: 'block'});" value="Add Alert Long Message" />
<input type="button" onclick="$.alMainAlert({message: 'Test Alert', type: 'block'});" value="Add Alert" />
<input type="button" onclick="$.alMainAlert({message: 'Example Error', class: 'alMainAlertError', type: 'block'});" value="Add Alert Error" />
</div>
</body>
</html>