-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (40 loc) · 1.3 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
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
<script src="./TextWall.js"></script>
<style>
.wall {
height: 450px;
padding-top: 20px;
overflow: hidden;
}
.wall .text {
/*position: absolute;*/
display: inline-block;
float: left;
white-space: nowrap;
}
</style>
</head>
<body>
<div class="wall"></div>
</body>
<script>
var wall = $(".wall").textWall({
texts: ['JavaSciprt', 'ES6', 'babel', 'reactjs', 'react-native',
'angularjs', 'webpack', 'npm', 'nodejs', 'flux', 'redux', 'vue.js',
'jquery', 'ES7', 'typescript', 'D3.js', 'docker', 'bower', 'requirejs',
'gulp', 'grunt', 'eslint', 'go', 'python', 'java', 'laravel', 'jenkins',
'travis', 'mocha', 'git', 'github', 'rails', 'zk', 'ajax', 'nosql', 'atom',
'mongoDB', 'design pattern', 'sublime text', 'vscode', 'koajs', 'html5', 'css3',
'electron', 'Solr', 'socket.io', 'sass', 'less', 'jade', 'ElasticSearch', 'AWS',
'bootstrap', 'vim', 'emacs',
],
test: function(str) {
alert(str + '_test');
},
});
console.log(wall);
</script>
</html>