Difference between revisions of "Template:NYMU-Taipei/newtemplate1"

 
(8 intermediate revisions by the same user not shown)
Line 170: Line 170:
 
text-align:center;
 
text-align:center;
 
color:#4B727B;
 
color:#4B727B;
font-size: 15px;
+
font-size: 17px;
 
}
 
}
  
Line 189: Line 189:
 
}
 
}
  
 +
a {
 +
color:#B1C4C9;
 +
}
  
 +
a:hover{
 +
color:#638695;
 +
}
  
 
.dropdown .dropdown-content a div{
 
.dropdown .dropdown-content a div{
Line 237: Line 243:
 
<div class="menu-part">
 
<div class="menu-part">
 
<a href="https://2018.igem.org/Team:NYMU-Taipei">
 
<a href="https://2018.igem.org/Team:NYMU-Taipei">
<img src="https://static.igem.org/mediawiki/2018/c/cd/T--NYMU-Taipei--gear-logo-2.jpg" style="width:120px;">
+
<img src="https://static.igem.org/mediawiki/2018/c/cd/T--NYMU-Taipei--gear-logo-2.jpg" style="width:130px;">
 
</a>
 
</a>
 
</div>
 
</div>
Line 245: Line 251:
 
<!-- Team -->
 
<!-- Team -->
 
<div class="dropdown">
 
<div class="dropdown">
<div id="1h" onclick="closeintro(event),openintro(event)">
+
<div id="1r" onclick="closeintro(event),openintro(event)">
 
TEAM
 
TEAM
 
</div>  
 
</div>  
<div class="dropdown-content" id="1i">
+
<div class="dropdown-content" id="1c">
 
 
 
<a href="https://2018.igem.org/Team:NYMU-Taipei/Team">
 
<a href="https://2018.igem.org/Team:NYMU-Taipei/Team">
Line 267: Line 273:
 
<div class="dropdown">
 
<div class="dropdown">
 
<!-- Project -->
 
<!-- Project -->
<div id="2h" onclick="closeintro(event),openintro(event)">
+
<div id="2r" onclick="closeintro(event),openintro(event)">
 
PROJECT
 
PROJECT
 
</div>  
 
</div>  
<div class="dropdown-content" id="2i">
+
<div class="dropdown-content" id="2c">
 
 
 
<a href="https://2018.igem.org/Team:NYMU-Taipei/Description">
 
<a href="https://2018.igem.org/Team:NYMU-Taipei/Description">
Line 333: Line 339:
  
 
<div class="dropdown">
 
<div class="dropdown">
<div id="3h" onclick="closeintro(event),openintro(event)">
+
<div id="3r" onclick="closeintro(event),openintro(event)">
 
PARTS
 
PARTS
 
</div>
 
</div>
<div class="dropdown-content" id="3i">
+
<div class="dropdown-content" id="3c">
 
 
 
<a href="https://2018.igem.org/Team:NYMU-Taipei/Parts">
 
<a href="https://2018.igem.org/Team:NYMU-Taipei/Parts">
Line 379: Line 385:
  
 
<div class="dropdown">
 
<div class="dropdown">
<div id="4h" onclick="closeintro(event),openintro(event)">
+
<div id="4r" onclick="closeintro(event),openintro(event)">
 
HUMAN PRACTICES  
 
HUMAN PRACTICES  
 
</div>  
 
</div>  
  
<div class="dropdown-content"id="4i">
+
<div class="dropdown-content"id="4c">
  
 
<a href="https://2018.igem.org/Team:NYMU-Taipei/Human_Practices">
 
<a href="https://2018.igem.org/Team:NYMU-Taipei/Human_Practices">
Line 404: Line 410:
  
 
<div class="dropdown">
 
<div class="dropdown">
<div id="5h" onclick="closeintro(event),openintro(event)">
+
<div id="5r" onclick="closeintro(event),openintro(event)">
 
AWARDS
 
AWARDS
 
</div>  
 
</div>  
  
<div class="dropdown-content" id="5i">
+
<div class="dropdown-content" id="5c">
  
 
<a href="https://2018.igem.org/Team:NYMU-Taipei/Applied_Design">
 
<a href="https://2018.igem.org/Team:NYMU-Taipei/Applied_Design">
Line 419: Line 425:
 
<div >
 
<div >
 
Entrepreneurship
 
Entrepreneurship
</div>
 
</a>
 
 
<a href="https://2018.igem.org/Team:NYMU-Taipei/Hardware">
 
<div >
 
Hardware
 
</div>
 
</a>
 
 
<a href="https://2018.igem.org/Team:NYMU-Taipei/Measurement">
 
<div>
 
Measurement
 
 
</div>
 
</div>
 
</a>
 
</a>
Line 437: Line 431:
 
<div >
 
<div >
 
Model
 
Model
</div>
 
</a>
 
 
<a href="https://2018.igem.org/Team:NYMU-Taipei/Plant">
 
<div >
 
Plant
 
</div>
 
</a>
 
 
 
<a href="https://2018.igem.org/Team:NYMU-Taipei/Software">
 
<div >
 
Software
 
 
</div>
 
</div>
 
</a>
 
</a>
Line 484: Line 465:
 
function closeintro(x){
 
function closeintro(x){
 
var intros = $('.intro');
 
var intros = $('.intro');
var targetintro = x.target.id.replace('h','i');
+
var targetintro = x.target.id.replace('d','c');
 
for (var i = intros.length - 1; i >= 0; i--) {
 
for (var i = intros.length - 1; i >= 0; i--) {
 
if (intros[i].id != targetintro) {
 
if (intros[i].id != targetintro) {
Line 493: Line 474:
  
 
function openintro(x){
 
function openintro(x){
var targetintro = x.target.id.replace('h','i');
+
var targetintro = x.target.id.replace('r','c');
 
document.getElementById(targetintro).show();;
 
document.getElementById(targetintro).show();;
 
}
 
}

Latest revision as of 19:37, 17 October 2018