forked from wavded/humane-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (36 loc) · 1.61 KB
/
index.html
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
37
38
39
40
<!doctype html>
<html>
<head>
<title>Humane JS</title>
<style>
body {
font-family: Verdana, sans-serif;
padding: 80px;
background-color: #eee;
}
</style>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<link rel='stylesheet' href='humane.css'/>
<script src='humane.js'></script>
</head>
<body>
<a href="http://github.com/wavded/humane-js"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
<h1>Humane JS</h1>
<p>Click a notification sample to view:</p>
<a href='javascript:humane("Welcome Back")'>
<pre>humane("Welcome Back")</pre>
</a>
<a href='javascript:humane("Record <b>392</b> has been updated")'>
<pre>humane("Record <b>392</b> has been updated")</pre>
</a>
<a href='javascript:humane("<p style=\"color:red\">Invalid Username and/or Password</p>")'>
<pre>humane("<p style='color:red'>Invalid Username and/or Password</p>")</pre>
</a>
<p>Set hide delay time by: <pre>humane.timeout = (milliseconds)</pre> Examples (select one and try samples again): </p>
<a href='#' onclick='humane.timeout = 500'>.5 Sec</a> |
<a href='#' onclick='humane.timeout = 10000'>10 Secs</a> |
<a href='#' onclick='humane.timeout = 2000'>2 Secs (Default)</a>
<h4>Download and Usage</h4>
Visit <a href='http://github.com/wavded/humane-js'>github page</a> to download and get more details.
</body>
</html>