Hooold on with that ticket Scott.
$('div').each(function() {
$(this)
});
Right, the instance ($('div')) is a jQuery object with four elements in (four divs). $(this) is an instance with only one element in (one div, i.e. this). So, when you get an index of 0, that's actually correct, since within that collection, there's only one element.
Try this: (it works)
$('div').offset(function(index, coord) {
$(this).append($("<p>index:" + index + "</p>"));
return {top: coord.top, left: coord.left + 20 + (10 * index)};
});