A voir également:
- Texte et ancre html
- Texte de chanson gratuit pdf - Télécharger - Vie quotidienne
- Editeur html - Télécharger - HTML
- Transcription audio en texte word gratuit - Guide
- Excel cellule couleur si condition texte - Guide
- Texte barré whatsapp - Guide
2 réponses
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
<!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