Team:DTU-Denmark/sysucolortest

From 2014.igem.org

(Difference between revisions)
Line 5: Line 5:
-
<!--
+
<!--       >>>>Can this be deleted?<<<<
 +
 
<script type="text/javascript">
<script type="text/javascript">
$(document).ready(function () {   
$(document).ready(function () {   
Line 56: Line 57:
                 $("#nav").css("position","fixed").css("top","0px");
                 $("#nav").css("position","fixed").css("top","0px");
                 $("#nav").css("background-color","#353535");
                 $("#nav").css("background-color","#353535");
-
                 $(".epopey").css("visibility","hidden");
+
                 //$(".epopey").css("visibility","hidden"); //Isn't it better that the mascot doesn't suddenly disappear, when you scroll down?
             } else {
             } else {
                 $("#nav").css("position","absolute").css("bottom","0").css("top","");
                 $("#nav").css("position","absolute").css("bottom","0").css("top","");
                 $("#nav").css("background-color","transparent");
                 $("#nav").css("background-color","transparent");
-
                 $(".epopey").css("visibility","visible");
+
                 //$(".epopey").css("visibility","visible");
             }
             }
         });
         });

Revision as of 13:56, 6 October 2014

MOVED to template_css