Team:Tsinghua/header
From 2011.igem.org
(Difference between revisions)
GuoQiangChen (Talk | contribs) |
GuoQiangChen (Talk | contribs) |
||
Line 39: | Line 39: | ||
dpad = Math.round($(this).attr("offsetWidth")/10); | dpad = Math.round($(this).attr("offsetWidth")/10); | ||
dpad = 25-dpad; | dpad = 25-dpad; | ||
+ | alert(dpad); | ||
dpad += "px"; | dpad += "px"; | ||
$(this).animate({"fontSize": "22px", "paddingTop": "4px", "paddingLeft": dpad, "paddingRight": dpad}, 400, function(){ | $(this).animate({"fontSize": "22px", "paddingTop": "4px", "paddingLeft": dpad, "paddingRight": dpad}, 400, function(){ |
Revision as of 13:42, 17 August 2011