WangYingkun (Talk | contribs) (Created page with "{{CIEI-China/backtopCss}} <html> <head> <style> →清除默认样式: #content{ width: 100%; margin: 0; padding: 0; } #top_title{ display: none; } #mw-content-text{ margin-to...") |
WangYingkun (Talk | contribs) |
||
Line 24: | Line 24: | ||
<div class="backtop-wrapper"> | <div class="backtop-wrapper"> | ||
− | <a href="#" class="back-link"><img src="https://static.igem.org/mediawiki/2017/9/9f/T--CIEI-China--backtop.jpg" alt="backtop"></a> | + | <a href="#" class="back-link"><img class="backtop" src="https://static.igem.org/mediawiki/2017/9/9f/T--CIEI-China--backtop.jpg" alt="backtop"></a> |
</div> | </div> | ||
+ | <script type="text/javascript" src="https://2017.igem.org/Team:CIEI-China/js/jquery?action=raw&ctype=text/javascript"></script> | ||
+ | <script> | ||
+ | $(".backtop-wrapper").hover(function (e) { | ||
+ | $(".backtop").addClass("animated").addClass("bounce"); | ||
+ | },function (e) { | ||
+ | $(".backtop").removeClass("animated").removeClass("bounce"); | ||
+ | }) | ||
+ | </script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 02:55, 31 October 2017