Fix info:
This is the only way I have found to get the body offset in webkit:
document.defaultView.getComputedStyle(document.body,
null).getPropertyValue('margin-left')
But it returns zero for other browsers. So you can use:
var bodyOffset = ($.browser.safari) ? parseInt($
('body').css('marginLeft')) : $('body').offset().left;
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---