/
index.html
133 lines (117 loc) · 4.12 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!DOCTYPE html>
<html>
<head>
<title>buzzmap - Demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link href="buzzmap.css" rel="stylesheet" type="text/css"/>
<link href="custom-style.css" type="text/css" rel="stylesheet"/>
<!-- Raphael for SVG support (won't work on android) -->
<script src="raphael.min.js" type="text/javascript"></script>
<!-- jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script>
<!-- UI, for draggable nodes -->
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js" type="text/javascript"></script>
<!-- buzzmap -->
<script src="buzzmap.js" type="text/javascript"></script>
<!-- Kick everything off -->
<script type="text/javascript">
<!--
var buzzmap;
$(document).ready(function ()
{
// Retrieving previous session
if(localStorage)
var cache = localStorage.getItem('buzzmap');
// init buzzmap
buzzmap = $('body>ul:eq(1)').buzzmap({
editable: true, // doubleclick to edit a node
onchange: function(node, data){ if(localStorage) localStorage.setItem('buzzmap', data);}, // if map is changed, save to storage
loadData: cache, //load last session, if there was one
frameRate: 200
});
// register callback for frame rate
buzzmap.bind('fps', function(fps) {
$('#fps').text(fps);
});
$('h3').show();
$('body>ul:eq(1) li').hide();
});
-->
</script>
<style type="text/css">
BODY {
color:#fff;
font-family: serif;
}
h1 {
margin-top:0;
margin-right: 20px;
float:left;
}
a#download {
display: block;
padding-top: 0.5em;
color: #fff;
z-index:10;
}
h3 {
float: right;
margin-right: 130px;
}
.instr {
clear:left;
padding-left:1em;
}
svg {
z-index:1;
}
</style>
</head>
<body>
<h3 style="display:none;">FPS: <span id="fps">0</span></h3>
<h1>Buzzmap</h1>
<a id="download" href="https://github.com/marcelklehr/buzzmap/zipball/master">Download</a>
<ul class="instr">
<li>Sort the nodes by dragging them around.</li>
<li>Click on a node to display it's children. Click again to hide them.</li>
<li>Doubleclick to edit a node.</li>
</ul>
<a href="http://github.com/marcelklehr/buzzmap" target="_blank" id="fork"><img style="position: absolute; top: 0pt; right: 0pt; border: 0pt none; z-index:10000;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a>
<ul>
<li><div><span>buzzmap</span></div>
<ul>
<li><div><span>Resources</span></div>
<ul>
<li><div><span>Raphaël</span></div></li>
<li><div><span>jQuery</span></div></li>
<li><div><span>jQueryUI</span></div></li>
<li><div><span><a href="https://github.com/kennethkufluk/js-mindmap" target="_blank">js-mindmap</a></span></div></li>
</ul>
</li>
<li><div><span><a href="https://github.com/marcelklehr/buzzmap/zipball/master">Download</a></span></div></li>
<li><div><span>Features</span></div>
<ul>
<li><div><span>Mindmopping</span></div></li>
<li><div><span>Brainstorming</span></div></li>
<li><div><span>Editing</span></div></li>
<li><div><span>Visualisation</span></div></li>
</ul>
</li>
<li><div><span>Files</span></div>
<ul>
<li><div><span><a href="sample.htm" target="_blank">sample.htm</a></span></div></li>
<li><div><span><a href="buzzmap.js" target="_blank">buzzmap.minjs</a></span></div></li>
<li><div><span><a href="buzzmap.css" target="_blank">buzzmap.css</a></span></div></li>
<li><div><span><a href="raphael.min.js" target="_blank">raphael.min.js</a></span></div></li>
</ul>
</li>
<li><div><span>Licence</span></div>
<ul>
<li><div><span>MIT Licence</span></div></li>
<li><div><span><a href="LICENSE" target="_blank">Conditions</a></span></div></li>
</ul>
</ul>
</li>
</ul>
</body>
</html>