Difference between revisions of "Template:KentFooter"
Line 68: | Line 68: | ||
<script> | <script> | ||
− | |||
− | |||
− | |||
− | |||
− | + | $(document).ready(function(){ | |
− | + | $('div #twittericon').mouseover(function(){ | |
− | + | div = $('#twitapp'); | |
− | } | + | div.show(); |
+ | }).mouseout(function(){ | ||
+ | div.hide(); | ||
+ | }); | ||
+ | }); | ||
+ | |||
+ | //On hover the twitter logo turns clear and the blue shows through | ||
+ | $(document).ready(function(){ | ||
+ | $('#twitterimg').hover(function () { | ||
+ | this.src = "https://static.igem.org/mediawiki/2015/1/16/Team_Kent_TransTwitterlogo.png"; | ||
+ | }, function () { | ||
+ | this.src = "https://static.igem.org/mediawiki/2015/b/ba/TwitterBackground.jpg"; | ||
+ | }); | ||
+ | }); | ||
</script> | </script> | ||
+ | |||
</html> | </html> |
Revision as of 15:03, 11 July 2015