JQuery Window Offset Top

// How to get the top offset:
var x = $(selector).offset()
console.log(x.top)

/**
	Some other info that you might find helpful :)
*/

// Return the offset coordinates:
$(selector).offset()

// Set the offset coordinates:
$(selector).offset({top:value,left:value})

// Set offset coordinates using a function:
$(selector).offset(function(index,currentoffset))
CoderHomie