Hallo, Lena,
ich will noch etwas erläutern, da ich wirklich denke, dass es am script liegt.
Im Tutorial und auch bisher wurden zwei "Sonstige" angezeigt.
Daher steht dies im script
var nextQuestion1 = $(thisQuestion).nextAll('.text-short:eq(0)');
var nextQuestion2 = $(thisQuestion).nextAll('.text-short:eq(1)');
var nextQuestions = $(nextQuestion1).add(nextQuestion2);
Es werden also zwei "nextQuestions" vom Typ "text-short" angesprochen, und zwar die erste und die zweite.
eq(x) beginnt die Zählung bei "0" .
Und dann werden diese beiden zusammengefügt und werden zur neuen Variablen "nextQuestions".
Wenn Du eine andere Anzahl "Sonstiger" möchtest, ist die Änderung eigentlich ziemlich offensichtlich.
Bei nur einem - wie bei Dir - also:
var nextQuestion1 = $(thisQuestion).nextAll('.text-short:eq(0)');
var nextQuestions = $(nextQuestion1);
Wir nehmen also nur die erste "nextQuestion" vom Typ "text-short" und "nextQuestions" ist dann halt nur diese eine.
Dann wird es zu
Und bei fünf "Sonstigen" wird es zu
var nextQuestion1 = $(thisQuestion).nextAll('.text-short:eq(0)');
var nextQuestion2 = $(thisQuestion).nextAll('.text-short:eq(1)');
var nextQuestion3 = $(thisQuestion).nextAll('.text-short:eq(2)');
var nextQuestion4 = $(thisQuestion).nextAll('.text-short:eq(3)');
var nextQuestion5 = $(thisQuestion).nextAll('.text-short:eq(4)');
var nextQuestions = $(nextQuestion1).add(nextQuestion2).add(nextQuestion3).add(nextQuestion4).add(nextQuestion5);
Joffm