I'd imagine that CSS is, since it's merely retrieving a value?

offset would need to figure out the left of the parent, the parent's parent, etc, all the way up to the body, including anything floated / aligned centre, left or right

L

Miloš Rašic' wrote:
Anyone know an answer to this question? In case when both expressions
return the same value, which one is faster? $(this).offset().left or
parseInt($(this).css('left'))?
------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.58/2309 - Release Date: 08/17/09 06:08:00


Reply via email to