Template:Kyoto/js
From 2012.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
function showTab(tabname) { | function showTab(tabname) { | ||
- | var children = | + | var $children = $("#kyoto-tab-contents").children("div"); |
- | + | $children.css("display","none"); | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
document.getElementById(tabname).style.display = "block"; | document.getElementById(tabname).style.display = "block"; | ||
} | } |
Revision as of 05:09, 26 September 2012