Team:University College London/js/protocoljs

From 2012.igem.org

$(document).ready(function(){

$('.protocol').click(function() {

$('.protocol').removeClass('on'); $('.protocolContent').slideUp('normal');

if($(this).next().is(':hidden') == true) { $(this).addClass('on'); $(this).next().slideDown('normal'); }

});

});