Line 4: | Line 4: | ||
<link rel="stylesheet" type="text/css" href="https://2016.igem.org/Template:Hong_Kong_HKUST/css_style_sheet?action=raw&ctype=text/css"> | <link rel="stylesheet" type="text/css" href="https://2016.igem.org/Template:Hong_Kong_HKUST/css_style_sheet?action=raw&ctype=text/css"> | ||
<script type="text/javascript" src="https://2016.igem.org/Template:Hong_Kong_HKUST/JSAbout?action=raw&ctype=text/javascript"></script> | <script type="text/javascript" src="https://2016.igem.org/Template:Hong_Kong_HKUST/JSAbout?action=raw&ctype=text/javascript"></script> | ||
− | + | <style> | |
+ | #ustStateChangeGif { | ||
+ | -webkit-transition: opacity 0.2s; | ||
+ | -moz-transition: opacity 0.2s; | ||
+ | -ms-transition: opacity 0.2s; | ||
+ | -o-transition: opacity 0.2s; | ||
+ | transition: opacity 0.2s; | ||
+ | } | ||
</head> | </head> | ||
<body> | <body> | ||
Line 31: | Line 38: | ||
$("div#ustMenuWrapper").removeClass("ustClpMenu"); | $("div#ustMenuWrapper").removeClass("ustClpMenu"); | ||
}); | }); | ||
+ | function ustReloadGif(){ | ||
+ | var ustGif = document.getElementById('ustStateChangeGif'); | ||
+ | ustGif.style.opacity = 0; | ||
+ | ustGif.src = "https://static.igem.org/mediawiki/2016/9/97/T--Hong_Kong_HKUST--StateChangeAnimation.gif"; | ||
+ | setTimeout(function(){ustGif.style.opacity = 1;}, 500); | ||
+ | } | ||
</script> | </script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 06:29, 19 October 2016