Difference between revisions of "Template:RHIT"
(26 intermediate revisions by the same user not shown) | |||
Line 27: | Line 27: | ||
.electrons{ | .electrons{ | ||
position:absolute; | position:absolute; | ||
− | + | ||
} | } | ||
− | + | p{ | |
− | + | width:90%; | |
− | + | padding-right:5%; | |
+ | padding-left:5%; | ||
+ | } | ||
</style> | </style> | ||
Line 57: | Line 59: | ||
var results= document.getElementById('RES'); | var results= document.getElementById('RES'); | ||
var desc= document.getElementById('Description'); | var desc= document.getElementById('Description'); | ||
− | var | + | var attrb= document.getElementById('attrb'); |
Line 74: | Line 76: | ||
results.src = "https://static.igem.org/mediawiki/2015/5/5e/RHIT_RESULTS_SUB_OFF.png"; | results.src = "https://static.igem.org/mediawiki/2015/5/5e/RHIT_RESULTS_SUB_OFF.png"; | ||
desc.src = "https://static.igem.org/mediawiki/2015/e/ec/RHIT_DESC_SUB_OFF.png"; | desc.src = "https://static.igem.org/mediawiki/2015/e/ec/RHIT_DESC_SUB_OFF.png"; | ||
− | + | attr.src = "https://static.igem.org/mediawiki/2015/7/7c/RHIT_attributions_off.png"; | |
} | } | ||
function SwapStyle2(sheet) { | function SwapStyle2(sheet) { | ||
− | + | document.getElementById('Stylish').setAttribute('href', sheet); | |
var Banner= document.getElementById('Banner'); | var Banner= document.getElementById('Banner'); | ||
Line 95: | Line 97: | ||
var results= document.getElementById('RES'); | var results= document.getElementById('RES'); | ||
var desc= document.getElementById('Description'); | var desc= document.getElementById('Description'); | ||
− | var | + | var attrb= document.getElementById('attrb'); |
+ | var Refer= document.getElementById('Refer'); | ||
Banner.src = "https://static.igem.org/mediawiki/2015/d/d1/RHIT_BANNER_ON.jpg"; | Banner.src = "https://static.igem.org/mediawiki/2015/d/d1/RHIT_BANNER_ON.jpg"; | ||
Line 111: | Line 114: | ||
results.src = "https://static.igem.org/mediawiki/2015/5/54/RHIT_SUB_RESULT_ON.png"; | results.src = "https://static.igem.org/mediawiki/2015/5/54/RHIT_SUB_RESULT_ON.png"; | ||
desc.src = "https://static.igem.org/mediawiki/2015/3/35/RHIT_SUB_DESC_ON.png"; | desc.src = "https://static.igem.org/mediawiki/2015/3/35/RHIT_SUB_DESC_ON.png"; | ||
− | + | attrb.src = "https://static.igem.org/mediawiki/2015/7/7a/RHIT_Attributions_ON.png"; | |
+ | Refer.src = "https://static.igem.org/mediawiki/2015/7/7a/RHIT_Attributions_ON.png"; | ||
} | } | ||
Line 120: | Line 124: | ||
function changeColorOn(id) { | function changeColorOn(id) { | ||
− | document.getElementById(id).style.color= "# | + | document.getElementById(id).style.color= "#9CFBE4"; |
} | } | ||
function changeColorOff(id) { | function changeColorOff(id) { | ||
− | document.getElementById(id).style.color= "# | + | document.getElementById(id).style.color= "#DBA246"; |
} | } | ||
Line 142: | Line 146: | ||
<script> | <script> | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
+ | |||
/*---------Slide toggle---------*/ | /*---------Slide toggle---------*/ | ||
Line 201: | Line 206: | ||
$("#Des").fadeToggle(); | $("#Des").fadeToggle(); | ||
$("#Wet").fadeToggle(); | $("#Wet").fadeToggle(); | ||
− | $("#Prot").fadeToggle(); | + | $("#Prot").fadeToggle(); |
+ | $("#ref").fadeToggle(); | ||
} | } | ||
Line 219: | Line 225: | ||
$("#electron2").stop(true,false); | $("#electron2").stop(true,false); | ||
$("#electron3").stop(true,false); | $("#electron3").stop(true,false); | ||
+ | $("*").stop(true,false); | ||
} | } | ||
− | $( | + | $(document).ready(electronUno).ready(electronDos).ready(electronTres); |
− | + | ||
$("#notebook").click(submenunote); | $("#notebook").click(submenunote); | ||
Line 240: | Line 246: | ||
<div id="globalWrapper"> | <div id="globalWrapper"> | ||
<div id="bannerContainer"> | <div id="bannerContainer"> | ||
− | <img id="Banner" src="https://static.igem.org/mediawiki/2015/ | + | <img id="Banner" src="https://static.igem.org/mediawiki/2015/d/da/RHIT_BANNER.jpg"> |
<img class="electrons" id="electron1" src="https://static.igem.org/mediawiki/2015/f/fe/RHIT_electron.png"> | <img class="electrons" id="electron1" src="https://static.igem.org/mediawiki/2015/f/fe/RHIT_electron.png"> | ||
Line 271: | Line 277: | ||
</a> | </a> | ||
<a class="ProjectSubAttr" id="who" href="https://2015.igem.org/Team:RHIT/Attributions"> | <a class="ProjectSubAttr" id="who" href="https://2015.igem.org/Team:RHIT/Attributions"> | ||
− | <img id=" | + | <img id="attrb" src="https://static.igem.org/mediawiki/2015/7/7c/RHIT_attributions_off.png"> |
</a> | </a> | ||
Line 289: | Line 295: | ||
</a> | </a> | ||
<a class="notebook" id="Prot" href="https://2015.igem.org/Team:RHIT/Protocol"> | <a class="notebook" id="Prot" href="https://2015.igem.org/Team:RHIT/Protocol"> | ||
− | <img id="Proto" src="https://static.igem.org/mediawiki/2015/e/e4/ | + | <img id="Proto" src="https://static.igem.org/mediawiki/2015/archive/e/e4/20150918051649%21RHIT_PROTOCOL_SUB_OFF.png"> |
+ | </a> | ||
+ | <a class="notebook" id="ref" href="https://2015.igem.org/Team:RHIT/References"> | ||
+ | <img id="Refer" src="https://static.igem.org/mediawiki/2015/b/b3/RHIT_REFERENCES.png"> | ||
</a> | </a> | ||
− | <a class="safety1" href="https://2015.igem.org/Team:RHIT/Safety"> | + | <a class="safety1" id="safety" href="https://2015.igem.org/Team:RHIT/Safety"> |
<img id="safety" src="https://static.igem.org/mediawiki/2015/0/03/RHIT_OFFBUTTON_safety.png"> | <img id="safety" src="https://static.igem.org/mediawiki/2015/0/03/RHIT_OFFBUTTON_safety.png"> | ||
</a> | </a> | ||
<!--------- on/off buttons----------> | <!--------- on/off buttons----------> | ||
− | |||
− | |||
− | |||
− | |||
</div> | </div> |
Latest revision as of 21:55, 18 September 2015