Team:ETH Zurich/collapsible
From 2013.igem.org
(Difference between revisions)
Line 23: | Line 23: | ||
$(".collapsibleContainerTitle", this).mouseover(CollapsibleContainerTitleOnClick); | $(".collapsibleContainerTitle", this).mouseover(CollapsibleContainerTitleOnClick); | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
function CollapsibleContainerTitleOnClick() { | function CollapsibleContainerTitleOnClick() { | ||
// The item clicked is the title div... get this parent (the overall container) and toggle the content within it. | // The item clicked is the title div... get this parent (the overall container) and toggle the content within it. | ||
Line 35: | Line 31: | ||
}); | }); | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</script> | </script> | ||
Revision as of 15:48, 23 October 2013