Kenjinvnn
Legend of Zelda
span id="theText" style="width:100%">
<h2 align="center"><font color="#FFFF00">http://ninhthuanonline.biz</font></h2>
</span>
<hr size="1" color="#000000">
<script>
<!--
//range of glowing
var from = 3;
var to = 5;
//speed of pulsing
var delay = 10;
//color of glow, name or RGB value (example:'#00FF00')
var glowColor = "red";
//NO MORE EDITING!!!
var i = to;
var j = 0;
//can be called here or whenever you want the text to start pulsing
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>
bạn có thể thay đổi 1 trong 3 cái sau đây:
1. Chữ sẽ hiện ra:
<span id="theText" style="width:100%">
<h2 align="center">http://ninhthuanonline.biz</h2>
</span>
2. Kích thước của vầng sáng:
var from = 3; --> Kích thước nhỏ nhất.
var to = 5; --> Kích thước lớn nhất.
3. Đây là tốc độ biến đổi của vầng sáng (càng nhỏ càng nhanh)
var delay = 10;
chúc bạn thành công
<h2 align="center"><font color="#FFFF00">http://ninhthuanonline.biz</font></h2>
</span>
<hr size="1" color="#000000">
<script>
<!--
//range of glowing
var from = 3;
var to = 5;
//speed of pulsing
var delay = 10;
//color of glow, name or RGB value (example:'#00FF00')
var glowColor = "red";
//NO MORE EDITING!!!
var i = to;
var j = 0;
//can be called here or whenever you want the text to start pulsing
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>
bạn có thể thay đổi 1 trong 3 cái sau đây:
1. Chữ sẽ hiện ra:
<span id="theText" style="width:100%">
<h2 align="center">http://ninhthuanonline.biz</h2>
</span>
2. Kích thước của vầng sáng:
var from = 3; --> Kích thước nhỏ nhất.
var to = 5; --> Kích thước lớn nhất.
3. Đây là tốc độ biến đổi của vầng sáng (càng nhỏ càng nhanh)
var delay = 10;
chúc bạn thành công