Link to home
Start Free TrialLog in
Avatar of tentavarious
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('label12')" onmouseout="mouseoff2('label12')"
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>
Avatar of Batalf
Batalf
Flag of United States of America image

Try to put in

text-decoration:blink

in the <A> tag instead of text-decoration:none
Avatar of tentavarious
tentavarious

ASKER

nope didnt work.  Still wont blink does it matter that its in a Iframe?
ASKER CERTIFIED SOLUTION
Avatar of seanpowell
seanpowell
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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('blink_text')",500);
}
function blink_text(div_id) {
  // If the text is hidden then display it, else hide the text.
  if (document.getElementById(div_id).style.visibility=="hidden")
    document.getElementById(div_id).style.visibility="visible"
  else
    document.getElementById(div_id).style.visibility="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
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&