Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Blinking Text

Posted on 2009-07-07
4
Medium Priority
?
312 Views
Last Modified: 2013-11-23
I am using the blinking text function located at this site:

http://javascript.internet.com/text-effects/blinking-text.html

It works but I need to seperate the parts of the text that are blinking. For Instance, I have a message that says

                                             *****Stop*****

                      There is a problem please do not log into the system.

The problem is that the entire text blinks and I just need the stop to blink. The code that I am using is below.

div id="prem_hint" style="position:relative; left:0; visibility:hidden" class="prem_hint">
<font color="#FF0000"><b><div align=center>*****STOP*****</b></font>
</div>
<script language="javascript">Blink('prem_hint');</script>
<b><div align=center></div> <br>
 
<font color = "red"><b> There is a problem please do not log into the system. <b></b>

Open in new window

0
Comment
Question by:earngreen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 60

Expert Comment

by:Kevin Cross
ID: 24798371
Try like this instead:
div id="prem_hint" style="position:relative; left:0; visibility:hidden" class="prem_hint">
<font color="#FF0000"><b><div id="prem_hint_stop" align=center>*****STOP*****</div></b></font>
<script language="javascript">Blink('prem_hint_stop');</script>
<b><div align=center></div> <br>
<font color = "red"><b> There is a problem please do not log into the system. <b></b>

Open in new window

0
 

Author Comment

by:earngreen
ID: 24805723
This seems to work fine with the exception of

If i leave off the < from the begining of your code, I get this line on my page although it blinks correctly

div id="prem_hint" style="position:relative; left:0; visibility:hidden" class="prem_hint">

If i add the < like

<div id="prem_hint" style="position:relative; left:0; visibility:hidden" class="prem_hint">

It completely takes away all of the text.

0
 
LVL 60

Accepted Solution

by:
Kevin Cross earned 2000 total points
ID: 24805926
Sorry that was a type-o and I forgot to move the visibility:hidden style.
<div id="prem_hint" style="position:relative; left:0;" class="prem_hint">
<font color="#FF0000"><b><div id="prem_hint_stop" style=" visibility:hidden;" align=center>*****STOP*****</div></b></font>
<script language="javascript">Blink('prem_hint_stop');</script>
<b><div align=center></div> <br>
<font color = "red"><b> There is a problem please do not log into the system. <b></b>

Open in new window

0
 

Author Closing Comment

by:earngreen
ID: 31600818
That worked out great. Thanks
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question