int(-16776959) int(-16776959) Aide - Texte clignotant
Centaure - Posté le 27/05/16 13:25

Niveau : Confiance
11 messages

Bonjour,

J'aimerais faire clignoter un mot sur mon blog. J'ai regardé sur le Net et "blink", "clignoter" ça marche pas... certaines façons sont obsolètes

Comment dois-je faire ?

MERCI

Centaure

thierrydeparis - Posté le 28/05/16 18:11

Niveau : Privilège
1292 messages

hello

esssaye ca


<html>
<head>
<script>
function blink(ob)
{
if (ob.style.visibility == "visible" )
{
ob.style.visibility = "hidden";
}
else
{
ob.style.visibility = "visible";
}
}
setInterval("blink(bl)",500);
</script>
</head>
<body>
<br><br><br>
<div id="bl" style="visibility: visible"><font size=+2 color=red>Texte Clignotant !!!</font></div>
</body>
</html>