Team:UT Dallas/Team
From 2013.igem.org
(Difference between revisions)
Line 22: | Line 22: | ||
var allPanels = $('.accordion > dd').hide(); | var allPanels = $('.accordion > dd').hide(); | ||
- | $('.accordion > dt | + | $('.accordion > dt').click(function() { |
allPanels.slideUp(); | allPanels.slideUp(); | ||
$(this).parent().next().slideDown(); | $(this).parent().next().slideDown(); |
Revision as of 22:36, 6 September 2013
- Panel 1
- Pellentesque fermentum dolor. Aliquam quam lectus, facilisis auctor, ultrices ut, elementum vulputate, nunc.
- Panel 2
- Donec nec justo eget felis facilisis fermentum. Aliquam porttitor mauris sit amet orci. Aenean dignissim pellentesque felis.
- Panel 3
- Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus hendrerit. Pellentesque aliquet nibh nec urna. In nisi neque, aliquet vel, dapibus id, mattis vel, nisi. Sed pretium, ligula sollicitudin laoreet viverra, tortor libero sodales leo, eget blandit nunc tortor eu nibh. Nullam mollis. Ut justo. Suspendisse potenti.