Template:Team:HokkaidoU Japan/script
From 2011.igem.org
(Difference between revisions)
Line 23: | Line 23: | ||
$wrapper = $('.toc-wrapper'); | $wrapper = $('.toc-wrapper'); | ||
$wrapper.hide(); | $wrapper.hide(); | ||
- | |||
$tab.bind('click', function(){ | $tab.bind('click', function(){ | ||
$tab.hide(); | $tab.hide(); | ||
Line 34: | Line 33: | ||
}); | }); | ||
}); | }); | ||
+ | if(open) $tab.trigger('click'); | ||
}); | }); | ||
</script></html> | </script></html> |
Revision as of 18:04, 5 October 2011