Template:Team:HokkaidoU Japan/About Us/JS

From 2014.igem.org

(Difference between revisions)
Line 57: Line 57:
*/
*/
 +
 +
$(function(){
 +
    $('#osamu').hover(function(){
 +
        $(this).attr('src', $(this).attr('src').replace('_off', '_on'));
 +
          }, function(){
 +
            if (!$(this).hasClass('currentPage')) {
 +
            $(this).attr('src', $(this).attr('src').replace('_on', '_off'));
 +
        }
 +
  });
 +
});
</script>
</script>
</html>
</html>

Revision as of 08:18, 9 October 2014