Difference between revisions of "Template:NAWI Graz:navbar"

Line 56: Line 56:
 
   // change 12 to alter damping higher is slower
 
   // change 12 to alter damping higher is slower
 
   xp += (mouseX - xp) / 12;
 
   xp += (mouseX - xp) / 12;
   rider.css({left:xp});
+
   rider.style.left = xp;
 
}, 30);
 
}, 30);
  
Line 75: Line 75:
 
#rider {
 
#rider {
 
     background-clip:content-box;
 
     background-clip:content-box;
     position: absolute;
+
     position: relative;
 
     padding: 0px;
 
     padding: 0px;
  

Revision as of 00:10, 31 October 2017