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').mouseover(function() {
+
     $('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: #Ea8828;
+
         background: #a3a3a3;
     cursor: pointer;
     cursor: pointer;
         padding: 10px;
         padding: 10px;
Line 45: Line 45:
.accordionButton:hover {
.accordionButton:hover {
-
       color: #555555;
+
       color: #20548f;
-
       border-bottom: 1px solid #555555;
+
        
       }
       }

Latest revision as of 02:09, 28 October 2010