Hi,
Alle Arrayelmente mit Index3 = 0 müssen in ein <div></div>. Gibt es jedoch darauffolgende Arrayelemente mit dem Index3 = 1, müssen die IN den Div Container.
Div schliessen, wenn Index gleich 0 und bereits Div offen.
Div oeffnen, wenn Index gleich 0.
Am Ende ggf. offenes Div schliessen.
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“