Team:UCLondon/Templates/Team-Style

From 2012e.igem.org

(Difference between revisions)
Line 98: Line 98:
   this.css({
   this.css({
     'position':'absolute',
     'position':'absolute',
-
     'top':Math.abs(((w.height() - this.outerHeight()) / 2) + w.scrollTop()),
+
     'top':Math.abs(((w.height() - this.outerHeight()) / 2) ),
     'left':Math.abs(((w.width() - this.outerWidth()) / 2) + w.scrollLeft())
     'left':Math.abs(((w.width() - this.outerWidth()) / 2) + w.scrollLeft())
   });
   });

Revision as of 06:17, 17 September 2012