-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (41 loc) · 2.95 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<link rel='stylesheet' type='text/css' href='css/style.css' />
<script type='text/javascript' src='js/bubble_maker.js'></script>
</head>
<body style='margin: 0;'>
<div id='info' style="width: 100%; height: 30px; position: relative;"></div>
<div style="width: 100%; height: 300px; position: relative;" id="container_bubbles" ></div>
<div style="width: 100%; height: 150px; position: relative;" id="container_bubbles2" ></div>
<div style="width: 150px; height: 450px; position: absolute; top: 30px; left:600px;" id="container_bubbles3" ></div>
<script>
var bubbles = [
{'id': 'circle01', 'top': 60, 'left': 95, 'size': 70, 'grow': 80, 'text': 'home', 'url': '#', 'target': false, 'clas': 'circle01'},
{'id': 'circle02', 'top': 110, 'left': 160, 'size': 90, 'grow': 80, 'text': 'portfolio', 'url': '#', 'target': false, 'clas': 'circle01'},
{'id': 'circle03', 'top': 60, 'left': 260, 'size': 110, 'grow': 80, 'text': 'curriculum', 'url': '#', 'target': false, 'clas': 'circle01'},
{'id': 'circle04', 'top': 115, 'left': 380, 'size': 60, 'grow': 70, 'text': 'blog', 'url': '#', 'target': false, 'clas': 'circle01'},
{'id': 'circle05', 'top': 60, 'left': 445, 'size': 80, 'grow': 80, 'text': 'contact', 'url': '#', 'target': false, 'clas': 'circle01'}
];
generator(bubbles, document.getElementById('container_bubbles'));
var bubbles2 = [
{'id': 'c01', 'top': 100, 'left': 70, 'size': 50, 'grow': 70, 'text': 'a', 'url': '#', 'target': false, 'clas': 'circle01'},
{'id': 'c02', 'top': 100, 'left': 140, 'size': 50, 'grow': 70, 'text': 'b', 'url': '#', 'target': false, 'clas': 'circle01'},
{'id': 'c03', 'top': 100, 'left': 210, 'size': 50, 'grow': 70, 'text': 'c', 'url': '#', 'target': false, 'clas': 'circle01'},
{'id': 'c04', 'top': 100, 'left': 280, 'size': 50, 'grow': 70, 'text': 'd', 'url': '#', 'target': false, 'clas': 'circle01'},
{'id': 'c05', 'top': 100, 'left': 350, 'size': 50, 'grow': 70, 'text': 'e', 'url': '#', 'target': false, 'clas': 'circle01'}
];
generator(bubbles2, document.getElementById('container_bubbles2'));
var bubbles3 = [
{'id': 'e01', 'top': 70, 'left': 50, 'size': 50, 'grow': 70, 'text': 'a', 'url': '#', 'target': false, 'clas': 'circle01'},
{'id': 'e02', 'top': 140, 'left': 50, 'size': 50, 'grow': 70, 'text': 'b', 'url': '#', 'target': false, 'clas': 'circle01'},
{'id': 'e03', 'top': 210, 'left': 50, 'size': 50, 'grow': 70, 'text': 'c', 'url': '#', 'target': false, 'clas': 'circle01'},
{'id': 'e04', 'top': 280, 'left': 50, 'size': 50, 'grow': 70, 'text': 'd', 'url': '#', 'target': false, 'clas': 'circle01'},
{'id': 'e05', 'top': 350, 'left': 50, 'size': 50, 'grow': 70, 'text': 'e', 'url': '#', 'target': false, 'clas': 'circle01'}
];
generator(bubbles3, document.getElementById('container_bubbles3'));
</script>
</body>
</html>