Template:Team:DukeMenu/CSS

From 2014.igem.org

(Difference between revisions)
Line 70: Line 70:
         // otherwise change it back to relative
         // otherwise change it back to relative
         if (scroll_top > sticky_navigation_offset_top) {  
         if (scroll_top > sticky_navigation_offset_top) {  
-
             $('#sticky_navigation').css({ 'position': 'fixed', 'top':0, 'left':0 });
+
             $('#sticky_navigation').css({ 'position': 'fixed', 'top':0,});
         } else {
         } else {
             $('#sticky_navigation').css({ 'position': 'relative' });  
             $('#sticky_navigation').css({ 'position': 'relative' });  

Revision as of 16:08, 29 July 2014