Voir le sujet précédent :: Voir le sujet suivant |
Auteur |
Message |
iowa php mioche
|
cacher et faire apparaitre , Posté le: 09-04-2005 14:42 |
|
|
bonjour,
j'aimerais savoir comment cacher une element en clikant dessus
genre une boite news de que l'on clique dessus elle disparait
merci |
|
|
iowa php mioche
|
cacher et faire apparaitre , Posté le: 10-04-2005 11:02 |
|
|
pas de reponse ?
vous m'aimez pas ?
|
|
|
SIBELIUS html mioche
|
cacher et faire apparaitre , Posté le: 10-04-2005 11:30 |
|
|
Si c'est en cliquant, il faut utiliser le gestionnaire d'événement javascript "onclick" et l'appliquer à une fonction.
Je ne suis pas spécialiste JS donc je ne peux pas aller plus loin. |
|
|
iowa php mioche
|
cacher et faire apparaitre , Posté le: 10-04-2005 11:32 |
|
|
merci
je crois que je suis sur une piste je reposterais apres |
|
|
salemioche salemioche
|
cacher et faire apparaitre , Posté le: 10-04-2005 15:13 |
|
|
Code: |
onclick='this.style.display="hidden"' |
ou un truc deu genre |
|
|
iowa php mioche
|
cacher et faire apparaitre , Posté le: 10-04-2005 16:17 |
|
|
j'ai trouve mais je vais quand meme utilise ta soluc salemioche !
vous pouvez le voir sur mon site web dans la boite de news
http://iow4.net |
|
|
SIBELIUS html mioche
|
cacher et faire apparaitre , Posté le: 10-04-2005 16:22 |
|
|
iowa a écrit: |
vous pouvez le voir sur mon site web dans la boite de news
|
à quel endroit dans les news ? |
|
|
iowa php mioche
|
cacher et faire apparaitre , Posté le: 10-04-2005 16:22 |
|
|
voir en grand en petit ... |
|
|
iowa php mioche
|
cacher et faire apparaitre , Posté le: 10-04-2005 16:24 |
|
|
oups j'avais oublie de transferer le fichier js
desole maintenant c'est bon |
|
|
SIBELIUS html mioche
|
cacher et faire apparaitre , Posté le: 10-04-2005 16:24 |
|
|
iowa a écrit: |
voir en grand en petit ... |
Malheureusement il ne se passe rien |
|
|
iowa php mioche
|
cacher et faire apparaitre , Posté le: 10-04-2005 16:25 |
|
|
iowa a écrit: |
oups j'avais oublie de transferer le fichier js
desole maintenant c'est bon |
|
|
|
SIBELIUS html mioche
|
cacher et faire apparaitre , Posté le: 10-04-2005 16:25 |
|
|
non non, toujours rien |
|
|
iowa php mioche
|
cacher et faire apparaitre , Posté le: 10-04-2005 16:27 |
|
|
chez moi sa marche nikel fais un f5 |
|
|
SIBELIUS html mioche
|
cacher et faire apparaitre , Posté le: 10-04-2005 16:29 |
|
|
iowa a écrit: |
chez moi sa marche nikel fais un f5 |
Déjà fait. Ne fonctionne pas.
Je n'ai pas vu le code JS, mais ça doit être un truc non standard qui ne doit marcher que sur IE je pense |
|
|
iowa php mioche
|
cacher et faire apparaitre , Posté le: 10-04-2005 16:34 |
|
|
sa marche sous firefox j'ai teste |
|
|
|