Bug Tracker

Modify

Ticket #10488 (closed bug: cantfix)

Opened 21 months ago

Last modified 20 months ago

IE7 offset() functions is not returning the proper values

Reported by: saranya.jkmr@… Owned by: saranya.jkmr@…
Priority: low Milestone: None
Component: offset Version: 1.4.2
Keywords: Cc:
Blocking: Blocked by:

Description

when calculating the offset positions, In other browsers like Firefox,safari. its working fine, but in IE7 its not returning the proper Positioning value.

var imgTop = imgElem.offset().top; var imgLeft = imgElem.offset().left;

I am using the above code snippet and based on the values i am positions some text on the screen.

Please let us know is there any solution to resolve this in IE7

Change History

comment:1 Changed 21 months ago by timmywil

  • Owner set to saranya.jkmr@…
  • Priority changed from undecided to low
  • Status changed from new to pending
  • Component changed from unfiled to offset

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle 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, use this boilerplate:  http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.

comment:2 Changed 20 months ago by saranya.jkmr@…

  • Status changed from pending to new

When Page is in 100% Zoom we are getting the proper positions using offset. But when we zoom more than 100%(i.e. 110%etc..) we are not getting the positions properly. This problem occurs only in IE7.

Can you please provide the solution to resolve this issue.

comment:3 Changed 20 months ago by rwaldron

  • Status changed from new to closed
  • Resolution set to cantfix

this cannot be fixed

comment:4 Changed 20 months ago by rwaldron

Actually, this is a duplicate, I'm replying from mobile, will find the original when I get a chance

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.