Template:Sifuentes04

From 2014.igem.org

(Difference between revisions)
Line 294: Line 294:
$(document).ready(function() {
$(document).ready(function() {
//Add Inactive Class To All Accordion Headers
//Add Inactive Class To All Accordion Headers
-
$('.accordion-header').toggleClass('active-header').toggleClass('inactive-header').next().slideToggle().toggleClass('open-content');
+
$('.accordion-header').toggleClass('inactive-header');
//Set The Accordion Content Width
//Set The Accordion Content Width
Line 301: Line 301:
//Open The First Accordion Section When Page Loads
//Open The First Accordion Section When Page Loads
-
//$('.accordion-header').first().toggleClass('active-header').toggleClass('inactive-header');
+
$('.accordion-header').first().toggleClass('active-header').toggleClass('inactive-header');
-
/$('.accordion-content').first().slideDown().toggleClass('open-content');
+
$('.accordion-content').first().slideDown().toggleClass('open-content');
// The Accordion Effect
// The Accordion Effect
Line 320: Line 320:
return false;
return false;
});
});
-
 
-
 
-
var buttonClicked =false;
 
-
 
-
 
$(".button").click(function(){
$(".button").click(function(){
Line 335: Line 330:
</script>
</script>
-
 
<!-- end of html -->
<!-- end of html -->

Revision as of 20:38, 12 January 2015