A voir également:
- Texte et ancre html
- Editeur html - Télécharger - HTML
- Excel cellule couleur si condition texte - Guide
- Mettre un texte en majuscule - Guide
- Espace en html - Astuces et Solutions
- Deflouter texte - Forum Logiciels
2 réponses
dedale82
Messages postés
403
Date d'inscription
jeudi 15 avril 2004
Statut
Membre
Dernière intervention
28 octobre 2008
282
27 juil. 2004 à 12:26
27 juil. 2004 à 12:26
Salut,
lorsque tu definis ton lien : a href="fichier.html", il faut que tu rajoutes #nom_de_l_ancre comme ca : a href ="fichier.html#nom_de_l_ancre"
A plus
lorsque tu definis ton lien : a href="fichier.html", il faut que tu rajoutes #nom_de_l_ancre comme ca : a href ="fichier.html#nom_de_l_ancre"
A plus
Utilisateur anonyme
27 juil. 2004 à 12:44
27 juil. 2004 à 12:44
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <!-- Author: Philippe Fery Creation: July 27, 2004 philippefery@hotmail.com --> <head> <title>Untitled</title> <script language="javascript" type="text/javascript"> var info=null; function initPage(){ anchors = document.getElementsByTagName("a"); for(i=0 ; i<anchors.length ; i++){ anchors[i].onmouseover=showAnchorText; anchors[i].onmouseout=hideAnchorText; } } function showAnchorText(){ anchorText = this.innerHTML; if(info==null){ info = document.createElement("div"); info.id="infoWindow"; info.name="infoWindow"; info.style.width="320px"; info.style.height="100px"; info.style.position="absolute"; info.style.left="200px"; info.style.top="120px"; info.style.lineHeight="140%"; info.style.padding="10 10 10 10"; info.style.fontSize="14px"; info.style.textAlign="center"; info.style.color="#ff0000"; info.style.borderColor="#ff0000"; info.style.borderStyle="solid"; info.style.borderWidth="1px"; info.style.backgroundColor="#ffff88"; document.body.appendChild(info); } info.style.visibility="visible"; info = document.getElementsByName("infoWindow")[0]; info.innerHTML=anchorText; } function hideAnchorText(){ info = document.getElementsByName("infoWindow")[0]; info.style.visibility="hidden"; } </script> </head> <body onload="initPage();"> <a>Le texte du premier lien</a> <p/> blabla <p/> <a>Autre texte de lien</a> <br/> <a>Troisième lien</a> </body> </html>
;-)
HackTrack