Difference between revisions of "Template:KentFooter"

Line 68: Line 68:
  
 
<script>
 
<script>
imghover {
 
    opacity: 0.4;
 
    filter: alpha(opacity=40);
 
}
 
  
imghover.hover {
+
$(document).ready(function(){
     opacity: 1.0;
+
$('div #twittericon').mouseover(function(){
     filter: alpha(opacity=100);  
+
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