ANCRAGE
Pour accéder aux articles commençant par A
Bien plus bas, avant , ou après le "A" plus grand et en caractère gras, tu saisis :
- slide : 600x258
- Rollover :
<img src=" url_img1" onmouseover="this.src='url_img2'" onmouseout="this.src='url_img1'">
- Spoil (sous forme d'image) :
<div class="quotetitle">
<strong></strong> <input onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Cacher'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Afficher';}"src="source de l'image" style="font-size: TAILLE DE LA POLICE DU BOUTONpx; height: 110px; margin: 0px; padding: 0px; width: 250px;" type="image" value="" />
</div>
<div class="quotecontent">
<div style="display: none;">
TEXTE DU SPOIL
</div>
</div>
ZONE DE TEST HTML
Hover
LE TEXTE
A function is triggered when the button is clicked. The function outputs some text in a p element with id="demo".
0 commentaires:
Enregistrer un commentaire