Hallo Ronny,
z.B: setTimeout("irgentwas(i)",zeit)
setTimeout("irgentwas("+i+")",zeit)
das ist Unsinn.
So wie es alfgar schrieb, war es schon in Ordnung. Nur kann man keine lokalen Variablen als Parameter übergeben, denn die sind ja beim Aufruf der Funktion nicht mehr gültig.
Grüße
Andreas
--
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
(Rich Cook)
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
(Rich Cook)