Line 342: | Line 342: | ||
</style> | </style> | ||
+ | <script type="text/javascript" src="https://2016.igem.org/Template:Hong_Kong_HKUST/gsapTimelineLite?action=raw&ctype=text/javascript"></script> | ||
+ | <script type="text/javascript" src="https://2016.igem.org/Template:Hong_Kong_HKUST/gsapBezierPlugin?action=raw&ctype=text/javascript"></script> | ||
+ | <script type="text/javascript" src="https://2016.igem.org/Template:Hong_Kong_HKUST/gsapEase?action=raw&ctype=text/javascript"></script> | ||
<script> | <script> | ||
+ | var $ustFruit = $('#ustFruit'), | ||
+ | path = [ | ||
+ | {x: 0, y: 0}, | ||
+ | {x: 0, y: 100}, | ||
+ | {x: 10, y: 30}, | ||
+ | {x: 20, y: 0}, | ||
+ | {x: 30, y: 10}, | ||
+ | {x: 40, y: 0} | ||
+ | ], | ||
+ | tlFruit = new TimelineLite(); | ||
+ | |||
+ | tl.to($ustFruit, 1, {bezier:{curviness: 0.3, values:path}, ease:Power1.easeInOut}) | ||
+ | .to($ustFruit, 1, {rotation:40, Power4.easeOut}); | ||
+ | |||
setTimeout(function(){window.location.href='https://2016.igem.org/Team:Hong_Kong_HKUST/The_Team'},1000000); | setTimeout(function(){window.location.href='https://2016.igem.org/Team:Hong_Kong_HKUST/The_Team'},1000000); | ||
//document.getElementById("firstHeading").style.display = "none"; | //document.getElementById("firstHeading").style.display = "none"; | ||
Line 348: | Line 365: | ||
//document.getElementById("sideMenu").style.display = "none"; | //document.getElementById("sideMenu").style.display = "none"; | ||
//setTimeout(function(){document.getElementById("sideMenu").style.display = "none";}, 25); | //setTimeout(function(){document.getElementById("sideMenu").style.display = "none";}, 25); | ||
− | |||
− | |||
setTimeout(function(){$( "#test" ).fadeOut( 600 );},4500);; | setTimeout(function(){$( "#test" ).fadeOut( 600 );},4500);; | ||
Line 376: | Line 391: | ||
setTimeout(function(){$( "#test2red" ).fadeOut( 600 );},30500); | setTimeout(function(){$( "#test2red" ).fadeOut( 600 );},30500); | ||
setTimeout(function(){$( "#test7" ).fadeIn( 600 );},31500); | setTimeout(function(){$( "#test7" ).fadeIn( 600 );},31500); | ||
− | setTimeout(function(){$( "#test6" ).fadeIn( 600 );}, | + | setTimeout(tlFruit.play(),32000); |
− | + | setTimeout(function(){$( "#test6" ).fadeIn( 600 );},33000); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</script | </script | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 12:18, 19 October 2016