Team:USTC-China/Team/gallarytry
From 2011.igem.org
(Difference between revisions)
Line 53: | Line 53: | ||
/* TEAM PAGE */ | /* TEAM PAGE */ | ||
- | . | + | .pic { |
clear:both; | clear:both; | ||
padding-bottom: 20px; | padding-bottom: 20px; | ||
border-bottom: 1px solid #ccc; | border-bottom: 1px solid #ccc; | ||
} | } | ||
- | . | + | .pic img { |
float:left; | float:left; | ||
margin-right: 10px; | margin-right: 10px; | ||
Line 77: | Line 77: | ||
<script> | <script> | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
- | $('. | + | $('.pic').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 86: | Line 86: | ||
$('.col_list li').click(function () { | $('.col_list li').click(function () { | ||
- | $('. | + | $('.pic').hide(); |
var name = $(this).attr('id'); | var name = $(this).attr('id'); | ||
- | $('#'+name+' | + | $('#'+name+'pic').fadeIn(500); |
}); | }); | ||
Line 101: | Line 101: | ||
<h2></h2> | <h2></h2> | ||
<ul> | <ul> | ||
- | <li id=" | + | <li id="1"></li> |
- | <li id=" | + | <li id=""></li> |
- | <li id=" | + | <li id=""></li> |
- | <li id=" | + | <li id=""></li> |
- | <li id=" | + | <li id=""></li> |
- | <li id=" | + | <li id=""></li> |
- | <li id=" | + | <li id=""></li> |
- | <li id=" | + | <li id=""></li> |
- | <li id=" | + | <li id=""></li> |
- | <li id=" | + | <li id=""></li> |
- | <li id=" | + | <li id=""></li> |
- | + | ||
- | <li id=" | + | <li id=""></li> |
- | <li id=" | + | <li id=""></li> |
- | <li id=" | + | <li id=""></il> |
</ul> | </ul> | ||
</div><!-- end undergrads --> | </div><!-- end undergrads --> | ||
Line 124: | Line 124: | ||
<div id="col_left"> | <div id="col_left"> | ||
- | <div class=" | + | <div class="pic" id="1pic"> |
<h1>Yinghong Lan</h1> | <h1>Yinghong Lan</h1> | ||
<img src="" style="max-width:350px; margin-right:10px;"/> | <img src="" style="max-width:350px; margin-right:10px;"/> |
Revision as of 09:04, 26 August 2011