-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
29 lines (26 loc) · 940 Bytes
/
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
<!doctype html>
<html>
<head>
<title>jQuery DoubleConfirm Plugin Test</title>
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<h1>jQuery DoubleConfirm</h1>
<p>
Clicking the following buttons should make it ask for confirmation. Clicking them again after their countdown should redirect you to <a href="http://example.com">http://example.com</a>
</p>
<p>
<a href="http://example.com" class="btn btn-primary" data-toggle="double-confirm">Go to example.com</a>
<a href="http://example.com" class="btn btn-primary" id="js-double-confirm">Go to another example.com</a>
</p>
</div>
<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
<script src="./js/jquery.doubleconfirm.js"></script>
<script>
$(function(){
$("#js-double-confirm").doubleConfirm();
});
</script>
</body>
</html>