Difference between revisions of "Team:NYMU-Taipei/Team"

Line 1: Line 1:
 
{{Template:NYMU-Taipei/newtemplate1}}
 
{{Template:NYMU-Taipei/newtemplate1}}
 
<html>
 
<html>
 +
 +
  
 
<div id="page-content">
 
<div id="page-content">
 
   
 
   
<div class="column two_thirds_size" >
 
  
<h1>Team</h1>
+
<div id="memtro">
<p>In this page you can introduce your team members, instructors, and advisors. </p>
+
  
 +
<div id="intros">
 +
<div class="intro unshow" id="0i">Welcome! This is memtro!</div>
 +
<div class="intro unshow" id="1i">ahhhhhh</div>
 +
<div class="intro unshow" id="2i">ohhhhhh</div>
 +
<div class="intro unshow" id="3i">ihhhhhh</div>
 +
<div class="intro unshow" id="4i">ehhhhhh</div>
 +
<div class="intro unshow" id="5i">uhhhhhh</div>
 +
<div class="intro unshow" id="6i"></div>
 +
<div class="intro unshow" id="7i"></div>
 +
<div class="intro unshow" id="8i"></div>
 +
<div class="intro unshow" id="9i"></div>
 +
<div class="intro unshow" id="10i"></div>
 +
<div class="intro unshow" id="11i"></div>
 +
<div class="intro unshow" id="12i"></div>
 +
<div class="intro unshow" id="13i"></div>
 +
<div class="intro unshow" id="14i"></div>
 +
<div class="intro unshow" id="15i"></div>
 +
<div class="intro unshow" id="16i"></div>
 +
</div>
  
<h3>What should this page contain?</h3>
+
<div id="heads">
<ul>
+
<div class="head" id="1h" onclick="closeintro(event),openintro(event)"><img src="guolun.png"><div class="headname">GuoLun</div></div>
<li> Include pictures of your teammates, don’t forget instructors and advisors! </li>
+
<div class="head" id="2h" onclick="closeintro(event),openintro(event)"><img src="chiyeh.png"><div class="headname">GuoLun</div></div>
<li>You can add a small biography or a few words from each team member, to tell us what you like, and what motivated you to participate in iGEM.</li>
+
<div class="head" id="3h" onclick="closeintro(event),openintro(event)"><img src="weitong.png"><div class="headname">GuoLun</div></div>
<li>Take team pictures! Show us your school, your lab and little bit of your city.</li>
+
<div class="head" id="4h" onclick="closeintro(event),openintro(event)"><img src="guolun.png"><div class="headname">GuoLun</div></div>
<li>Remember that image galleries can help you showcase many pictures while saving space.</li>
+
<div class="head" id="5h" onclick="closeintro(event),openintro(event)"><img src="chiyeh.png"><div class="headname">GuoLun</div></div>
</ul>
+
<div class="head" id="6h"><img src="chiyeh.png"><div class="headname">GuoLun</div></div>
 +
<div class="head" id="7h"><img src="chiyeh.png"><div class="headname">GuoLun</div></div>
 +
<div class="head" id="8h"><img src="chiyeh.png"><div class="headname">GuoLun</div></div>
 +
<div class="head" id="9h"><img src="weitong.png"><div class="headname">GuoLun</div></div>
 +
<div class="head" id="10h"><img src="chiyeh.png"><div class="headname">GuoLun</div></div>
 +
<div class="head" id="11h"><img src="weitong.png"><div class="headname">GuoLun</div></div>
 +
<div class="head" id="12h"><img src="weitong.png"><div class="headname">GuoLun</div></div>
 +
<div class="head" id="13h"><img src="weitong.png"><div class="headname">GuoLun</div></div>
 +
<div class="head" id="14h"><img src="weitong.png"><div class="headname">GuoLun</div></div>
 +
<div class="head" id="15h"><img src="weitong.png"><div class="headname">GuoLun</div></div>
 +
<div class="head" id="16h"><img src="weitong.png"><div class="headname">GuoLun</div></div>
 
</div>
 
</div>
  
 +
</div>
  
 +
<style type="text/css">
 +
body{
 +
background-color: gray;
 +
}
 +
#memtro{
 +
background-color: white;
 +
width: 1200px;
 +
margin: auto;
  
<div class="column third_size" >
+
}
<div class="highlight decoration_A_full">
+
#heads{
<h3>Inspiration</h3>
+
width: 600px;
<p>You can look at what other teams did to get some inspiration! <br />
+
}
Here are a few examples:</p>
+
#intros{
<ul>
+
width: 600px;
<li><a href="https://2014.igem.org/Team:METU_Turkey_team">2014 METU Turkey </a></li>
+
float: right;
<li><a href="https://2014.igem.org/Team:Colombia/Members">2014 Colombia</a></li>
+
}
<li><a href="https://2014.igem.org/Team:Stony_Brook/Team">2014 Stony Brook</a></li>
+
.head{
<li><a href="https://2014.igem.org/Team:OUC-China/Team">2014 OUC-China</a></li>
+
position: relative;
</ul>
+
height: 150px;
</div>
+
width: 150px;
</div>
+
display:inline-block;
</div>
+
margin-right: -4px;
</html>
+
margin-top: -4px;
 +
}
 +
.head img{
 +
height: auto;
 +
width: 150px;
 +
}
 +
.head:hover img{
 +
opacity: 0.5;
 +
}
 +
.headname{
 +
z-index: 1;
 +
position: absolute;
 +
top:100px;
 +
opacity: 2;
 +
display: none;
 +
background-color: red;
 +
color:white;
 +
text-align: center;
 +
width: 150px;
 +
height:20px;
 +
}
 +
.head:hover .headname{
 +
display: block;
 +
opacity: 1;
 +
}
 +
.unshow{
 +
display: none;
 +
}
 +
</style>
 +
 
 +
<script type="text/javascript">
 +
window.onload = function(){
 +
document.getElementById('0i').classList.remove("unshow");
 +
};
 +
 
 +
function closeintro(x){
 +
var intros = document.getElementsByClassName('intro');
 +
var targetintro = x.target.parentElement.id.replace('h','i');
 +
for (var i = intros.length - 1; i >= 0; i--) {
 +
if (intros[i].id != targetintro) {
 +
intros[i].classList.add("unshow");
 +
}
 +
}
 +
}
 +
 
 +
function openintro(x){
 +
var targetintro = x.target.parentElement.id.replace('h','i');
 +
document.getElementById(targetintro).classList.remove("unshow");
 +
}
 +
</script>

Revision as of 05:00, 11 August 2018

Welcome! This is memtro!
ahhhhhh
ohhhhhh
ihhhhhh
ehhhhhh
uhhhhhh
GuoLun
GuoLun
GuoLun
GuoLun
GuoLun
GuoLun
GuoLun
GuoLun
GuoLun
GuoLun
GuoLun
GuoLun
GuoLun
GuoLun
GuoLun
GuoLun