Скрин:
Будет работать только в Internet Explorer, пользователи других броузеров увидят простой текст. Вставьте следующий код в нужном месте вашей страницы между тегами
Code
<span id="theText" style="width:100%">
<p align=center><b>Сияние.</b></p></span>
<script>
<!--
//величина сияния от и до
var from = 1;
var to = 6;
//скорсть сияния
var delay = 40;
//цвет сияния
var glowColor = "00ccff";
//не менять!!!
var i = to;
var j = 0;
textPulseDown();
function textPulseUp()
{
if (!document.all)
return
if (i < to)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i++;
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
if (i = to)
{
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
}
function textPulseDown()
{
if (!document.all)
return
if (i > from)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i--;
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
if (i = from)
{
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
}
//-->
</script>
Сияние-замените на свой текст.