Team:UIUC-Illinois/Team/Undergrads
From 2012.igem.org
(Difference between revisions)
Line 17: | Line 17: | ||
$('a').click(function () { | $('a').click(function () { | ||
var divname= this.name; | var divname= this.name; | ||
- | $("#"+divname).show( | + | $("#"+divname).show(300).siblings().hide(300); |
}); | }); | ||
}); | }); | ||
Line 43: | Line 43: | ||
<div id="div1" style="display:none"> | <div id="div1" style="display:none"> | ||
<img src="https://static.igem.org/mediawiki/2012/f/fd/Angela.png" align=left> | <img src="https://static.igem.org/mediawiki/2012/f/fd/Angela.png" align=left> | ||
- | <p>Description1</p> | + | <hr/><p>Description1</p> |
</div> | </div> | ||
<div id="div2" style="display:none"> | <div id="div2" style="display:none"> |
Revision as of 16:53, 6 June 2012