Side navigation
#10000 closed bug (invalid)
Opened August 08, 2011 10:21AM UTC
Closed August 23, 2011 07:55AM UTC
the value got by calling position() in ie8
Reported by: | yang163_yang@yahoo.com.cn | Owned by: | yang163_yang@yahoo.com.cn |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | offset | Version: | 1.6.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I got a problem.
<div style="text-align:center;margin-top:104px; width:740px; height:300px;">
<div class="switch_pic" style="position:relative; width:740px; height:300px; overflow:hidden;">
<div class="arrow_left" style="position:absolute; left:20px;top:135px; z-index:10; cursor:pointer;"><img src="images/left.png" /></div>
<div class="arrow_right" style="position:absolute; left:700px;top:135px; z-index:10; cursor:pointer;"><img src="images/right.png" /></div>
<ul class="content" style="width:10000px; position:absolute; margin:0;">
<li class="elem" style="float:left; width:740px; height:740px; overflow:hidden;"><img src="images/otherbg.jpg" width="740px" height="300px" /></li>
<li class="elem" style="float:left; width:740px; height:740px; overflow:hidden;"><img src="images/subbg.jpg" width="740px" height="300px" /></li>
</ul>
</div>
</div>
I run '$(".content").animate({"left":"-740px"},"normal");' first.Then, '$(".content").css("left")' returns a string "-740px",but "$(".content").position()["left"]" returns a int value -739.This occurs in ie8.The value returned in firefox is -740.
Attachments (0)
Change History (2)
Changed August 08, 2011 01:14PM UTC by comment:1
component: | unfiled → offset |
---|---|
owner: | → yang163_yang@yahoo.com.cn |
priority: | undecided → low |
status: | new → pending |
Changed August 23, 2011 07:55AM UTC by comment:2
resolution: | → invalid |
---|---|
status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Thanks for taking the time to contribute to the jQuery project! Please provide a reduced jsFiddle test case to help us assess your ticket. Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, we've created this boilerplate: http://jsfiddle.net/rwaldron/da3nM/ Open the link and click to "Fork" in the top menu.