Team:Imperial College London/Templates/Buttons
From 2010.igem.org
(Difference between revisions)
(One intermediate revision not shown) | |||
Line 5: | Line 5: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
- | $('div.accordionButton'). | + | $('div.accordionButton').click(function() { |
$(this).next().slideToggle('normal'); | $(this).next().slideToggle('normal'); | ||
Line 30: | Line 30: | ||
display: block; | display: block; | ||
color: #ffffff; | color: #ffffff; | ||
- | background: # | + | background: #a3a3a3; |
cursor: pointer; | cursor: pointer; | ||
padding: 10px; | padding: 10px; | ||
Line 45: | Line 45: | ||
.accordionButton:hover { | .accordionButton:hover { | ||
- | color: # | + | color: #20548f; |
- | + | ||
} | } | ||
Latest revision as of 02:09, 28 October 2010