Side navigation
#10795 closed bug (duplicate)
Opened November 15, 2011 04:50PM UTC
Closed November 15, 2011 04:58PM UTC
Last modified November 15, 2011 05:00PM UTC
Animate "height" is interpreting % values as px
Reported by: | gilbitron | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | None |
Component: | effects | Version: | 1.7 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The animate function seems to be interpreting the "height" attribute percentage values as pixel values.
For example $(...).animate({ height:'50%' }, 1000) will animate the element to 50px rather than 50%.
Attachments (0)
Change History (3)
Changed November 15, 2011 04:58PM UTC by comment:1
component: | unfiled → effects |
---|---|
priority: | undecided → high |
resolution: | → duplicate |
status: | new → closed |
Changed November 15, 2011 05:00PM UTC by comment:3
jsFiddle demo: http://jsfiddle.net/PxGmn/