Difference between revisions of "Template:TecCEM/BubblesTemplate"

(Created page with "<html> <script type="text/javascript"> function generate_bubble(size_px, left, speed_percentage){ var div = document.createElement("div"); var animTime = 10*speed_per...")
 
Line 13: Line 13:
 
div.style.animationName = "rise_up";
 
div.style.animationName = "rise_up";
 
div.style.animationIterationCount = "infinite";
 
div.style.animationIterationCount = "infinite";
document.getElementsByTagName('body')[0].appendChild(div);
+
document.getElementsByClassName('bubbles_window')[0].appendChild(div);
 
}
 
}
  

Revision as of 21:40, 4 October 2021