0
Ich console.logging die offset()
eines Elements gelesen und ichKann nicht Eigentum 'top' von null
left: 1236
top: 139
__proto__: Object
Aber wenn ich offset().top
log ich den Fehler
Cannot read property 'top' of null
hier ist mein Code in seiner Gesamtheit:
console.log(('.index-title').eq(n).prev().offset().top);
Danke! Ich verstehe es jetzt. –