-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
34 lines (29 loc) Β· 1.38 KB
/
index.js
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
window.onload = function () {
var backgroundImages = ["images/chris.jpg", "images/will-lee.png", "images/dayoung-lee.jpg", "images/bo.jpg", "images/sunah.jpeg", "images/ann.jpeg",
"images/misaki.jpg", "images/junghoe.jpg", "images/xue.jpeg", "images/alison.jpg", "images/theo.jpeg",
"images/goldnflow.png", "images/sun.jpg", "images/jungyun.jpeg", "images/will.jpg", "images/invely.jpg",
"images/cat.jpg", "images/tisha.jpg", "images/raven.jpeg", "images/img1.jpg"];
/*
* 00 - Chris Zhu
* 03 - Boyoung Nam - Bo
* 14 - Will Kim
* 15 - Invely
*/
CMRotate.init('rotate-div', 200, 300, 350, 19, 600, backgroundImages, clickFn);
/* 18 -- if we want to add additional Nerd */
/**
* init
*
* div - DIV element ID
* tw - Plane Width
* th - Plane Height
* ty - Y position distance from bottom
* gap - Gap between each Plane -> Reduce the number if there's more Nerds you want to add.
* radius - Circle Radius
* bg - Background image Array
* fn - Mouse click function on each Plane
*/
// no = position on the array.
function clickFn(no) {
}
}