Team:MIT/Partners/
From 2011.igem.org
(Difference between revisions)
Line 6: | Line 6: | ||
<script> | <script> | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
- | $('. | + | $('.h').css('display','none'); |
- | + | ||
$('.col_list li').css('cursor','pointer'); | $('.col_list li').css('cursor','pointer'); | ||
$('.col_list li').hover(function() { | $('.col_list li').hover(function() { | ||
Line 16: | Line 15: | ||
$('.col_list li').click(function () { | $('.col_list li').click(function () { | ||
- | $('. | + | $('.h').hide(); |
var name = $(this).attr('id'); | var name = $(this).attr('id'); | ||
$('#'+name+'_section').fadeIn(500); | $('#'+name+'_section').fadeIn(500); | ||
+ | |||
}); | }); | ||
}); | }); | ||
</script> | </script> | ||
</head> | </head> | ||
+ | |||
<body> | <body> | ||
- | |||
<div id="col_nav"> | <div id="col_nav"> | ||
<div class="col_list"> | <div class="col_list"> | ||
- | <h2> | + | <h2>Undergraduates</h2> |
- | + | <ul> | |
- | + | <li id="sponsors">sponsors</li> | |
- | + | <li id="other_teams">other teams</li> | |
- | + | </ul> | |
- | </div> | + | </div><!-- end undergrads --> |
</div><!--end col_nav--> | </div><!--end col_nav--> | ||
+ | |||
<div id="col_left"> | <div id="col_left"> | ||
- | <div id="sponsors_section" > | + | <div id="sponsors_section" class='h'> |
<div id="partners"> | <div id="partners"> | ||
<h3>Sponsors</h3> | <h3>Sponsors</h3> | ||
Line 67: | Line 68: | ||
<div style="clear:both;"></div> | <div style="clear:both;"></div> | ||
</div><!-- end 'sponsors_section' --> | </div><!-- end 'sponsors_section' --> | ||
+ | <div id='other_teams_section' class='h'> | ||
+ | PENDING | ||
+ | </div> | ||
</div><!--end col_left--> | </div><!--end col_left--> | ||
+ | |||
+ | |||
</body> | </body> | ||
</html> | </html> |
Revision as of 04:42, 26 September 2011