Team:Shenzhen BGIC ATCG/temp/menu.html

From 2013.igem.org

(Difference between revisions)
Line 123: Line 123:
<script>
<script>
$(function(){
$(function(){
-
 
-
 
var getAngle = function(Xc, Yc, Xa, Ya, Xb, Yb) {
var getAngle = function(Xc, Yc, Xa, Ya, Xb, Yb) {
var v1x = Xb - Xc;
var v1x = Xb - Xc;
Line 143: Line 141:
radius_right= 8;
radius_right= 8;
var setEyeOffset = function(event) {
var setEyeOffset = function(event) {
-
var scroH = $(this).scrollTop();
+
var scroH = $(window).scrolltop()
var offset = $(".eye_wrapper").offset();
var offset = $(".eye_wrapper").offset();
var x1 = offset.left + left_center_offset.left;
var x1 = offset.left + left_center_offset.left;

Revision as of 08:59, 17 September 2013


Ball Ball

Playing with my eyes
aren't you?

Hi I am Dr. Mage!
A "budding" yeast cell!