Team:Tsinghua/header

From 2011.igem.org

(Difference between revisions)
Line 42: Line 42:
     dpad = Math.round($(this)[0].offsetWidth / 10);
     dpad = Math.round($(this)[0].offsetWidth / 10);
}
}
 +
alert(dpad);
dpad = 25 - dpad;
dpad = 25 - dpad;
dpad += "px";
dpad += "px";

Revision as of 14:47, 17 August 2011