PDA

View Full Version : Someone help me please


KnightCrash
10-18-2002, 02:24 AM
Im sure this is an easy one but, i have plain text on my forums home page and i want to make it blink, my question is how can i do that? I appreciate any help....
Thanks in advance.

Logician
10-18-2002, 08:22 AM
Add this to in the your text's template (preferably in the header), then use blink tag for your text like <blink>Here Blinks!</blink>


<SCRIPT LANGUAGE="JavaScript">
function BlinkTxt() {
if(document.getElementById && document.all){
obj = document.getElementsByTagName("blink");
for (var i=0; i<obj.length; i++)
if (obj[i].style.visibility=="hidden") {
obj[i].style.visibility="visible";
}
else {
obj[i].style.visibility="hidden";
}
setTimeout('BlinkTxt()',350);
}
}
onload=BlinkTxt;
</SCRIPT>

KnightCrash
10-21-2002, 02:22 AM
I appreciate the help...
Thank you!