-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
30 lines (27 loc) · 820 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
30
<html>
<header>
<meta charset="UTF-8">
<link href='css/SparkPopup.css' rel='stylesheet' type='text/css'>
<link href="http://www.jqueryscript.net/css/jquerysctipttop.css" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js">
</script>
<script type="text/javascript" src="js/SparkPopup.js"></script>
</header>
<body>
<div class="page-container">
<button class="button">Click me</button>
<div class="mypop-up">
</div>
</div>
<script>
$(document).ready(function() {
$(".mypop-up").SparkPopup({
type: "success"
});
});
$(".button").on("click", function(e) {
$(".mypop-up").openSpark();
})
</script>
</body>
</html>