1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
var i, max=4, chrono;
// Fermeture
function closing()
{
document.getElementById("bubble").style.display = 'none';
}
// Clignotement
function flickering()
{
document.getElementById("bubble").style.display=(document.getElementById("bubble").style.display=="block")?"none":"block";
i++;
if (i==max*2)
{
clearInterval(chrono);
}
}
// Infobulle
function help_bubble()
{
i = 0;
chrono = setInterval("flickering()", "75");
}
setTimeout('help_bubble()',1800);
setTimeout('closing()',9000); |