Team:UCLondon/Templates/Team-Style
From 2012e.igem.org
(Difference between revisions)
Line 95: | Line 95: | ||
<script> | <script> | ||
+ | jQuery.fn.center = function () { | ||
+ | this.css("position","absolute"); | ||
+ | this.css("top", Math.max(0, (($(window).height() - this.outerHeight()) / 2) + | ||
+ | $(window).scrollTop()) + "px"); | ||
+ | this.css("left", Math.max(0, (($(window).width() - this.outerWidth()) / 2) + | ||
+ | $(window).scrollLeft()) + "px"); | ||
+ | return this; | ||
+ | } | ||
- | |||
+ | |||
+ | |||
+ | $('.team li').click(function(event) { | ||
+ | $('#shadow').center(); | ||
Revision as of 05:27, 17 September 2012
-
Tim Cook
CEO
about me
-
Craig Federighi
Senior Vice President
Mac Software Engineeringabout me
-
Scott Forstall
Senior Vice President
iOS Softwareabout me
-
Jonathan Ive
Senior Vice President
Industrial Designabout me