User:Sifuentes anita
From 2014.igem.org
(Difference between revisions)
Line 106: | Line 106: | ||
} | } | ||
- | + | .button { | |
width: 120px; | width: 120px; | ||
border: 1px solid #cccccc; | border: 1px solid #cccccc; | ||
Line 118: | Line 118: | ||
} | } | ||
- | + | .button:hover { | |
background-color: #c1dfa6; | background-color: #c1dfa6; | ||
color: black; | color: black; | ||
} | } | ||
+ | .button a:link { | ||
+ | |||
+ | color: black; | ||
+ | } | ||
Line 361: | Line 365: | ||
}); | }); | ||
- | $(".button").click(function() { | + | // this makes any area of the button clickable |
- | + | $(".button").click(function() { | |
- | + | window.location = $(this).find("a").attr("href"); | |
- | }); | + | return false; |
+ | }); | ||
</script> | </script> |
Revision as of 15:16, 8 January 2015
Welcome to iGEM 2015
More information will be posted soon