|
Bas de page | |
---|---|
Auteur | Sujet : Passer les arguments d'un Array dans un setTimeout. |
![]() Publicité | Posté le 01-11-2007 à 19:29:35 ![]() ![]() |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
mIRROR Chevreuillobolchévik |
sur firefox ouais Message édité par mIRROR le 02-11-2007 à 00:24:36 --------------- « The enemy is the gramophone mind, whether or not one agrees with the record that is being played at the moment. » — George Orwell |
darkkrab | Donc je vais être obliger de distribuer mes arguments à des nom de variables fixes avec une boucle? |
mIRROR Chevreuillobolchévik |
--------------- « The enemy is the gramophone mind, whether or not one agrees with the record that is being played at the moment. » — George Orwell |
gatsu35 Blablaté par Harko |
Message édité par gatsu35 le 02-11-2007 à 00:39:08 |
darkkrab | Malheureusement, on obtient le même résultat que le script initial. |
mIRROR Chevreuillobolchévik | si tu fais alert(fst) ca donne quoi --------------- « The enemy is the gramophone mind, whether or not one agrees with the record that is being played at the moment. » — George Orwell |
darkkrab |
mIRROR Chevreuillobolchévik |
--------------- « The enemy is the gramophone mind, whether or not one agrees with the record that is being played at the moment. » — George Orwell |
![]() Publicité | Posté le 02-11-2007 à 01:25:52 ![]() ![]() |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
mIRROR Chevreuillobolchévik | --------------- « The enemy is the gramophone mind, whether or not one agrees with the record that is being played at the moment. » — George Orwell |
gatsu35 Blablaté par Harko | mirror you are the best, et sinon j'arrive à 11h30 ce matin mon biquet barbu |
mIRROR Chevreuillobolchévik | \o/ --------------- « The enemy is the gramophone mind, whether or not one agrees with the record that is being played at the moment. » — George Orwell |
darkkrab | Ça ne fonctionne pas encore, désolé.
|
darkkrab | Dans le script original, le problème c'est que le "i" qui s'incémente vaut toujours 4 lors de l'appel des setTimeout puique la boucle est fini et fst[4] est undefined évidemment. Il faudrait trouver un moyen pour que la valeur suivent le setTimeout, quitte à créer des variables pour remplacer le "i". |
Shinuza This is unexecpected | @Gatsu, Masklinn, mIRROR : Vous êtes tous de gros cacas suintants
Edit : C'est du code pas beau Message édité par Shinuza le 06-11-2007 à 01:13:45 --------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
masklinn í dag viðrar vel til loftárása | c'est mirror qui m'a trompé en mettant pas ses paramètres au bon endroit --------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
mIRROR Chevreuillobolchévik |
--------------- « The enemy is the gramophone mind, whether or not one agrees with the record that is being played at the moment. » — George Orwell |
anapajari s/travail/glanding on hfr/gs; | @shinu> c'est quoi ce truc tout degueu ???
|
mIRROR Chevreuillobolchévik | je crois que le monsieur aura 15000 inputs qui initialiseont 30000arrays differents --------------- « The enemy is the gramophone mind, whether or not one agrees with the record that is being played at the moment. » — George Orwell |
Shinuza This is unexecpected |
--------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
darkkrab | J'ai trouvé.
|
anapajari s/travail/glanding on hfr/gs; | c'est code est toujours de la grosse bouse
|
darkkrab | L'array fst et snd ont toujours la même longueur, maximum 20 par bouton.
|
anapajari s/travail/glanding on hfr/gs; |
|
darkkrab |
Message cité 1 fois Message édité par darkkrab le 07-11-2007 à 20:16:02 |
Shinuza This is unexecpected | C'est toujours aussi moche, les deux fonctions font la même chose à un paramètre près, aucun interet. --------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
anapajari s/travail/glanding on hfr/gs; | +1
|
darkkrab | Je l'ai fait, mais c'est moins précis dans le temps. (1100 * 20 n'égal pas 2200) avec un setInterval.
Message cité 1 fois Message édité par darkkrab le 08-11-2007 à 18:54:01 |
mIRROR Chevreuillobolchévik | (1100 * 20 n'égal pas 2200) avec un setInterval. --------------- « The enemy is the gramophone mind, whether or not one agrees with the record that is being played at the moment. » — George Orwell |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
darkkrab |
Cette fonction n'accumule pas les setTimeout, c'est l'important. Message cité 1 fois Message édité par darkkrab le 08-11-2007 à 22:56:21 |
SICKofitALL misanthrope |
--------------- We deserve everything that's coming... |
mIRROR Chevreuillobolchévik | ha oui le new ca change tout --------------- « The enemy is the gramophone mind, whether or not one agrees with the record that is being played at the moment. » — George Orwell |
Shinuza This is unexecpected |
Si y'avais une idée à la con, cétait celle ci, merci. (en plus de rien changer au problème et proposer une solution qui ne résoud même pas l'hypothétique (et éronné) problème pointé.)
--------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
SICKofitALL misanthrope | ah ben oui mais bon je disais bien que c'était à tester, j'ai pas dit que ca résoudrait le "soucis" --------------- We deserve everything that's coming... |
![]() Publicité | Posté le ![]() ![]() |
Sujets relatifs | |
---|---|
Passer une variable dans une fonction | Passer une liste a une fonction? |
Uploader un fichier sans passer par Parcourir | requete affiche un bouton AouB dans un array qui verifi a chaque ligne |
Passer un évènement en paramètre de fonction | [CSS? JavaScript? Paint?]J'vais sûrement passer pour un con mais... |
Trouver un élément dans un tableau, facile pour qui s'y connait ! | Array et nom de champs |
Passer souris sur photo pour afficher une image dans un cadre | pagination avec un array |
Plus de sujets relatifs à : Passer les arguments d'un Array dans un setTimeout. |