forked from katrincwl/kc_fab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (41 loc) · 1.58 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
<html>
<head>
<link rel="stylesheet" href="dist/css/kc.fab.css"/>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
</head>
<body>
<h1 style="text-align: center;">Materialize Floating Action Button - jQuery plugin</h1>
<h2 style="text-align: center;">Please feel free to use and contribute! :)</h2>
<div class="kc_fab_wrapper" >
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="dist/js/kc.fab.min.js"></script>
<script>
$(document).ready(function(){
var links = [
{
"bgcolor":"red",
"icon":"+",
"title": "Click me"
},
{
"url":"http://www.example.com",
"bgcolor":"red",
"color":"#fffff",
"icon":"<i class='fa fa-phone'></i>",
"target":"_blank",
"title": "Hey, Click me ..."
},
{
"url":"http://www.example.com",
"bgcolor":"black",
"color":"white",
"icon":"<i class='fa fa-music'></i>",
"title":"Hey again, Click!"
}
]
$('.kc_fab_wrapper').kc_fab(links);
})
</script>
</body>
</html>