m |
m |
||
Line 6: | Line 6: | ||
<link rel="stylesheet" href="https://2018.igem.org/Team:Warwick/CSS/BooksCSS?action=raw&ctype=text/css"> | <link rel="stylesheet" href="https://2018.igem.org/Team:Warwick/CSS/BooksCSS?action=raw&ctype=text/css"> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | ||
+ | <style>.Contents{display: none}</style> | ||
<script> | <script> | ||
Line 116: | Line 117: | ||
function goToMedals(){ | function goToMedals(){ | ||
window.location = "https://2018.igem.org/Team:Warwick/Medals"; | window.location = "https://2018.igem.org/Team:Warwick/Medals"; | ||
+ | } | ||
+ | |||
+ | function showContents(){ | ||
+ | $(".Contents").css("display", "block"); | ||
} | } | ||
function BioClick(){ | function BioClick(){ | ||
+ | |||
+ | showContents(); | ||
+ | |||
$("#bioIMG").css("margin", "1% 4%"); | $("#bioIMG").css("margin", "1% 4%"); | ||
$("#bioIMG").css("width", "12%"); | $("#bioIMG").css("width", "12%"); | ||
Line 175: | Line 183: | ||
function OrgClick(){ | function OrgClick(){ | ||
+ | |||
+ | showContents(); | ||
+ | |||
$("#bioIMG").css("margin", "2% 5%"); | $("#bioIMG").css("margin", "2% 5%"); | ||
$("#bioIMG").css("width", "10%"); | $("#bioIMG").css("width", "10%"); | ||
Line 191: | Line 202: | ||
function InorgClick(){ | function InorgClick(){ | ||
+ | |||
+ | showContents(); | ||
+ | |||
$("#bioIMG").css("margin", "2% 5%"); | $("#bioIMG").css("margin", "2% 5%"); | ||
$("#bioIMG").css("width", "10%"); | $("#bioIMG").css("width", "10%"); |
Revision as of 13:11, 16 October 2018
igem@warwick.ac.uk