Difference between revisions of "Template:TecCEM/JsHome"

 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
<script type="text/javascript">
 
<script type="text/javascript">
 
$(document).ready(function() {
 
$(document).ready(function() {
 +
    opa = 1
 
     $("#audioLanding")[0].play()
 
     $("#audioLanding")[0].play()
 
     $("#audioLanding")[0].loop = true
 
     $("#audioLanding")[0].loop = true
Line 11: Line 12:
  
 
         growFn = setInterval(function() {
 
         growFn = setInterval(function() {
             if($("#audioLanding")[0].volume >= 0.03) {
+
             if($("#audioLanding")[0].volume >= 0.02) {
 +
                opa-=0.1
 +
                $("#centerCircle").css("opacity",opa)
 
                 $("#audioLanding")[0].volume -=0.006
 
                 $("#audioLanding")[0].volume -=0.006
 
             }
 
             }

Latest revision as of 03:49, 18 October 2018