Line 71: | Line 71: | ||
function generate_bubble(size_px, left, speed_percentage){ | function generate_bubble(size_px, left, speed_percentage){ | ||
− | var div = document.createElement( | + | var div = document.createElement("div"); |
var animTime = 10*speed_percentage/100; | var animTime = 10*speed_percentage/100; | ||
div.style.width = size_px.toString() + "px"; | div.style.width = size_px.toString() + "px"; | ||
Line 82: | Line 82: | ||
div.style.animationName = "rise_up"; | div.style.animationName = "rise_up"; | ||
div.style.animationIterationCount = "infinite"; | div.style.animationIterationCount = "infinite"; | ||
− | document.getElementsByClassName( | + | document.getElementsByClassName('blue_body')[0].appendChild(div); |
/*document.getElementsByTagName("body")[0].appendChild(div);*/ | /*document.getElementsByTagName("body")[0].appendChild(div);*/ | ||
} | } |
Revision as of 04:16, 27 September 2021
The team
Advisors
Principal Investigators
Funny moments