tentavarious
asked on
cant get text to blink
Hello experts, i have the updated IE and my text wont blink here is how i am doing it, i want the word "new" to blink
<A style="COLOR: black; TEXT-DECORATION: none" href="toolrequest.aspx" target="_top">
<asp:label id="Label12" onmouseover="mouseon2('lab el12')" onmouseout="mouseoff2('lab el12')"
runat="server" Font-Bold="True" Font-Size="11pt" Font-Names="Bookman Old Style">Tooling Request Form</asp:label><font color="red">
<blink>(new)</blink></font ></A>
<A style="COLOR: black; TEXT-DECORATION: none" href="toolrequest.aspx" target="_top">
<asp:label id="Label12" onmouseover="mouseon2('lab
runat="server" Font-Bold="True" Font-Size="11pt" Font-Names="Bookman Old Style">Tooling Request Form</asp:label><font color="red">
<blink>(new)</blink></font
ASKER
nope didnt work. Still wont blink does it matter that its in a Iframe?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Blinking text is on a par with animated flying birds, auto popups that lack close options, and spam. The only thing worse IMHO are viruses.
This code also uses Timers, but with "visibility" option.
<html>
<head>
<title>Blink Text</title>
<script language="JavaScript">
onload=function() {
setTimeout("blink_text('bl ink_text') ",500);
}
function blink_text(div_id) {
// If the text is hidden then display it, else hide the text.
if (document.getElementById(d iv_id).sty le.visibil ity=="hidd en")
document.getElementById(di v_id).styl e.visibili ty="visibl e"
else
document.getElementById(di v_id).styl e.visibili ty="hidden "
// use the timeout to run the code every 500 miliseconds
setTimeout("blink_text('"+ div_id+"') ",500);
}
</script>
</head>
<body>
<div id="blink_text">hello world</div>
</body>
</html>
http://www.webmasterworld.com/forum21/6110.htm
<html>
<head>
<title>Blink Text</title>
<script language="JavaScript">
onload=function() {
setTimeout("blink_text('bl
}
function blink_text(div_id) {
// If the text is hidden then display it, else hide the text.
if (document.getElementById(d
document.getElementById(di
else
document.getElementById(di
// use the timeout to run the code every 500 miliseconds
setTimeout("blink_text('"+
}
</script>
</head>
<body>
<div id="blink_text">hello world</div>
</body>
</html>
http://www.webmasterworld.com/forum21/6110.htm
ASKER
I know blinking test is annoying, but that's what the boss wants, hard to argue with boss. Thanks for the help
Glad we could help. Thanks for the A. :^)
Cd&
Cd&
text-decoration:blink
in the <A> tag instead of text-decoration:none