forked from aanoaa/jquery-note
/
index.html
52 lines (52 loc) · 1.69 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
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" lang="ko">
<head>
<title>jQuery.note</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="jquery.note.css" type="text/css" media="screen" />
<script type="text/javascript" src="jquery-1.6.2.js"></script>
<script type="text/javascript" src="jquery.note.js"></script>
<script type="text/javascript">
(function() {
$(function() {
$(document).bind('init.note', function(e, opts) {
return console.log("'init.note' fired with '" + opts.cmd + "' cmd");
});
$(document).bind('afterClose.note', function() {
return console.log("'afterClose.note' fired");
});
$(document).bind('beforeSend.note', function(e, note) {
return console.log("'beforeSend.note' fired");
});
$(document).bind('afterSuccess.note', function(e, data) {
return console.log("'afterSuccess.note' fired");
});
$(document).bind('beforeReveal.note', function(e, data) {
console.log("'beforeReveal.note' fired");
return console.log(data);
});
$(document).bind('afterReveal.note', function(e, data) {
console.log("'afterReveal.note' fired");
return console.log(data);
});
$(document).bind('changeStatus.note', function(e, data) {
console.log("'changeStatus.note' fired");
return console.log(data);
});
return $("a.note").note({
debug: true
});
});
}).call(this);
</script>
<style type="text/css">
body {
margin: 1em;
}
</style>
</head>
<body>
<a href="#" class="note" />
</body>
</html>