Difference between revisions of "Team:CPU CHINA"

Line 97: Line 97:
 
position:relative;
 
position:relative;
 
top:35%;
 
top:35%;
 +
display:none;
 
animation:mymove 5s;
 
animation:mymove 5s;
 
-webkit-animation:mymove 5s; /*Safari and Chrome*/
 
-webkit-animation:mymove 5s; /*Safari and Chrome*/
Line 164: Line 165:
  
 
$(document).ready(function(){
 
$(document).ready(function(){
$(".whole-carriage").css("animation","mymove 7s");
+
//$(".whole-carriage").css("animation","mymove 7s");
$(".whole-carriage").css("-webkit-animation","mymove 7s");
+
//$(".whole-carriage").css("-webkit-animation","mymove 7s");
 
 
var e = document.getElementById("whole-carriage");
+
//var e = document.getElementById("whole-carriage");
        e.addEventListener("animationend", function() {
+
      //e.addEventListener("animationend", function() {
           //$("#whole-carriage").hide();
+
           $("#whole-carriage").hide();
 
           $("#home-video").show();
 
           $("#home-video").show();
 
           $("#words").show();
 
           $("#words").show();
         });
+
         //});
 
})
 
})
  
 
</script>
 
</script>
 
</html>
 
</html>

Revision as of 16:01, 6 November 2018