Difference between revisions of "Template:Team:Bielefeld-CeBiTec/JS"

(added project overview to story, added margin adaptation for start page)
 
(6 intermediate revisions by the same user not shown)
Line 67: Line 67:
 
$(".sub-navbar").attr("style", "top: " + ($logoHeight + 16) + "px;");
 
$(".sub-navbar").attr("style", "top: " + ($logoHeight + 16) + "px;");
 
if ($imgSrc == "https://static.igem.org/mediawiki/2017/4/4a/T--Bielefeld-CeBiTec--expand_monochrome_white_2.svg") {
 
if ($imgSrc == "https://static.igem.org/mediawiki/2017/4/4a/T--Bielefeld-CeBiTec--expand_monochrome_white_2.svg") {
$(".container.start-page").attr("style", "margin-top: " + ($logoHeight + 10) + "px;");
+
//$(".container.start-page").attr("style", "padding-top: " + ($logoHeight + 10) + "px;");
 
}
 
}
 
if ($scrollHeight >= 80) {
 
if ($scrollHeight >= 80) {
Line 115: Line 115:
 
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Project/toolbox/photolysis",
 
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Project/toolbox/photolysis",
 
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Project/toolbox/fusing",
 
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Project/toolbox/fusing",
 +
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Demonstrate",
 
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Results/unnatural_base_pair",
 
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Results/unnatural_base_pair",
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Results/unnatural_base_pair/uptake_and_biosynthesis",
+
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Results/unnatural_base_pair/uptake",
 +
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Results/unnatural_base_pair/biosynthesis",
 
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Results/unnatural_base_pair/preservation_system",
 
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Results/unnatural_base_pair/preservation_system",
 
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Results/unnatural_base_pair/development_of_new_methods",
 
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Results/unnatural_base_pair/development_of_new_methods",
Line 128: Line 130:
 
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Results/toolbox/photolysis",
 
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Results/toolbox/photolysis",
 
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Results/toolbox/fusing",
 
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Results/toolbox/fusing",
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Demonstrate",
 
 
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Parts",
 
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Parts",
 
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Basic_Part",
 
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Basic_Part",
Line 487: Line 488:
  
  
$(document).ready(function() {
+
/*$(document).ready(function() {
 
     $(".figure").mousedown(function() {
 
     $(".figure").mousedown(function() {
 
$clickItem = $(this);
 
$clickItem = $(this);
Line 504: Line 505:
 
$("#cover-img").width($newSize + "px");
 
$("#cover-img").width($newSize + "px");
 
}*/
 
}*/
$("#cover-p").html($p.html());
+
/*$("#cover-p").html($p.html());
 
$(".cover").fadeIn(200);
 
$(".cover").fadeIn(200);
 
 
Line 513: Line 514:
 
$("#cover-box").css("top", $topPos);
 
$("#cover-box").css("top", $topPos);
 
     });
 
     });
});
+
});*/
  
 
$(document).ready(function() {
 
$(document).ready(function() {

Latest revision as of 03:57, 2 November 2017