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

(updated "story")
 
(5 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/Results/Overview",
+
"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",
 
"https://2017.igem.org/Team:Bielefeld-CeBiTec/Results/unnatural_base_pair/uptake",
Line 130: 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 489: Line 488:
  
  
$(document).ready(function() {
+
/*$(document).ready(function() {
 
     $(".figure").mousedown(function() {
 
     $(".figure").mousedown(function() {
 
$clickItem = $(this);
 
$clickItem = $(this);
Line 506: 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 515: 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