Team:MIT/partners
From 2011.igem.org
(Difference between revisions)
(3 intermediate revisions not shown) | |||
Line 6: | Line 6: | ||
<script> | <script> | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
- | $('. | + | $('.hidden').css('display','none'); |
$('#videobio').css('display','block'); | $('#videobio').css('display','block'); | ||
- | $('. | + | $('.col_list li').css('cursor','pointer'); |
- | $('. | + | $('.col_list li').hover(function() { |
$(this).css('background-color','#91A3ED'); | $(this).css('background-color','#91A3ED'); | ||
}, function() { | }, function() { | ||
Line 15: | Line 15: | ||
}); | }); | ||
- | $('. | + | $('.col_list li').click(function () { |
- | $('. | + | $('.hidden').hide(); |
var name = $(this).attr('id'); | var name = $(this).attr('id'); | ||
- | $('#'+name+' | + | $('#'+name+'_section').fadeIn(500); |
}); | }); | ||
}); | }); | ||
Line 24: | Line 24: | ||
</head> | </head> | ||
<body> | <body> | ||
+ | |||
+ | |||
+ | <div id="col_nav"> | ||
+ | <div class="col_list"> | ||
+ | <h2>Partners</h2> | ||
+ | <ul> | ||
+ | <li id='sponsors'>Sponsors</li> | ||
+ | <li id='other teams'>Other Teams</li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </div><!--end col_nav--> | ||
<div id="col_left"> | <div id="col_left"> | ||
- | <div id=" | + | <div id="sponsors_section" > |
<div id="partners"> | <div id="partners"> | ||
<h3>Sponsors</h3> | <h3>Sponsors</h3> | ||
Line 51: | Line 62: | ||
<li><a href="http://www.eecs.mit.edu/"><img src='https://static.igem.org/mediawiki/2011/2/22/Mit-eecs.jpg' /></a></li> | <li><a href="http://www.eecs.mit.edu/"><img src='https://static.igem.org/mediawiki/2011/2/22/Mit-eecs.jpg' /></a></li> | ||
<li><a href="http://web.mit.edu/be/"><img src='https://static.igem.org/mediawiki/2011/a/a7/Mit-be.jpg' /></a></li> | <li><a href="http://web.mit.edu/be/"><img src='https://static.igem.org/mediawiki/2011/a/a7/Mit-be.jpg' /></a></li> | ||
+ | <li><a href="http://web.mit.edu/biology/www/"><img src='https://static.igem.org/mediawiki/2011/b/bf/Mitbiologo.jpg' /></a></li> | ||
</ul> | </ul> | ||
</div> | </div> | ||
<div style="clear:both;"></div> | <div style="clear:both;"></div> | ||
- | </div><!-- end ' | + | </div><!-- end 'sponsors_section' --> |
</div><!--end col_left--> | </div><!--end col_left--> | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</body> | </body> | ||
</html> | </html> |
Latest revision as of 05:06, 19 August 2011