top doesn't work Uncaught TypeError: Cannot read property 'top' of undefined offset
var offsetTop = $(this).offset().top;
you may be passing the value of this incorrectly
or the node doesn't exist
and the method is being called before the Doom has loaded
use it in this context
Download free ESHKO English lessons and win an IPhone https://goo.gl/3al3Pd
Comments