SyntaxFix
Write A Post
Hire A Developer
Questions
You can use parseInt(jQuery.offset().top) to always use the Integer (primitive - int) value across all browsers.
parseInt(jQuery.offset().top)
int