Template:Team:SCUT/mainhead

From 2014.igem.org

(Difference between revisions)
Line 134: Line 134:
li#safety{width:43px;}
li#safety{width:43px;}
-
   #left{position:absolute;left:165px;top:300px;width:200px;height:800px;z-index:1000;border:1px solid black;}
+
   #left{position:absolute;left:165px;top:0px;width:200px;height:800px;z-index:1000;border:1px solid black;}
   .navihead{width:200px;height:45px;font-size:20px;}
   .navihead{width:200px;height:45px;font-size:20px;}
   .navihead img{width:200px;height:auto;}
   .navihead img{width:200px;height:auto;}
Line 261: Line 261:
$(document).ready(function(){
$(document).ready(function(){
var element = $("#left");
var element = $("#left");
-
         var top = element.position().top - 200;
+
         var top = element.position().top;
var pos = element.css("position");
var pos = element.css("position");
$(window).scroll(function(){
$(window).scroll(function(){

Revision as of 05:17, 9 October 2014