pour repondre a tes questionnements
trouve style c'est ca
1 2 3 4 5 6 7 8 9
| function trouvestyle(idf) {
if (document.getElementById) {
return document.getElementById(idf).style;
} else if (document.all) {
return document.all[idf].style;
} else if (document.layers) {
return document.layers[idf];
} else return null
} |
mais il y a aussi ca
1 2 3
| function init_avant(){
timer_avant=1;
} |
et ma fonction est appeler par ca
<a href="#" onclick="init_avant();avant(550,'centralpetithg','centralhautgauche');">
peut tu me dire ce que c'est que DOM2 merci [/code]
Partager