J'ai honte, mais je me casse la tete à faire un truc de nul.
Je ne trouve plus la syntax pour ouvrir une page grace a un onclick:
ca sa ne marche pas
Code:<td onclick="inex.htm">toto</td>
Version imprimable
J'ai honte, mais je me casse la tete à faire un truc de nul.
Je ne trouve plus la syntax pour ouvrir une page grace a un onclick:
ca sa ne marche pas
Code:<td onclick="inex.htm">toto</td>
Salut,
C'est cool que tu ais trouvé la solution pour hier;)!
Sinon tu fais :
nouvelle fenetre :
<td onClick="Javascript:window.open('page.html','ma page');">toto</td>
fenetre courante :
<td onClick="Javascript:window.document.location.href='page.html';">toto</td>
c'est pas windows.open qu'il faut utiliser?
Oui hugO76,
ca fait du bien apres tant de "recherche". Merci pour m'avoir aidé
Ouis ben ca marche poa
Code:
1
2 <td onclick="javascript:window.open('http://www.domaine.ch/voir/welcome.html','Voir la ville');">ville</td>
t'as essayé :?Code:javascript:void(window.open...)
tiens ca ca marche ;) :
Code:
1
2 <td onClick="Javascript:window.open('http://www.domaine.ch/voir/welcome.html');">ville</td>
Merci, parfait :P