Text Blinking

J

JCO

I know this can be annoying but I really need to make a certain Text
Blink... for a short time. Can somebody tell me how this is achieved?
Thanks
 
J

JCO

That is a lot of money but if it is any consolation.... the 2003 version is
better than what came with OfficeXP (2002 version). I don't know if you
have a 2004 version or if one is even out but the 2003 is a great package.
 
J

JCO

Sorry my mistake. posted wrong

JCO said:
That is a lot of money but if it is any consolation.... the 2003 version is
better than what came with OfficeXP (2002 version). I don't know if you
have a 2004 version or if one is even out but the 2003 is a great package.
 
S

Steve Easton

javascript.

<script type="text/javascript">
function doBlink() {
var b = document.all.tags("samp")
for ( i=0; i < b.length; i++)b.style.visibility = (b.style.visibility == "" )? "hidden" : "" }
function startBlink() {
if (document.all)setInterval("doBlink()",1500)}
window.onload = startBlink;
</script>


Since the <blink> tag won't validate with W3C, I use the seldom used <samp> tag which will validate

surround the text you want to blink with the samp tags like this.

<samp>This text will blink</samp>

The script is set to blink the text every 1.5 seconds. Do not set it faster than 1 second, as it
can cause "light flicker syndrome" seizures in people prone to Epileptic seizures

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
I

Ivor Jones

JCO said:
I know this can be annoying but I really need to make a certain Text
Blink... for a short time. Can somebody tell me how this is
achieved? Thanks

<blink> blinking text </blink>

This trick doesn't work in IE, but does in Netscape. Not tried any other
browsers so can't comment. There may be other ways but I've never tried to
do this so don't know.


Ivor
 
J

JCO

If the two functions are on a script utility page that is loaded already,
where does the
"window.onload = startBlink" go?

I'm hoping I can do it this way?

Steve Easton said:
javascript.

<script type="text/javascript">
function doBlink() {
var b = document.all.tags("samp")
for ( i=0; i < b.length; i++)b.style.visibility =

(b.style.visibility == "" )? "hidden" : "" }
 
J

JCO

Even if I can't flash the text, is there anyway to flash a boarder around
the text. My text is currently in a single cell Table. If that would
flash, then I would not have to flash the text at all. Not sure which is
harder/easier.

Steve Easton said:
javascript.

<script type="text/javascript">
function doBlink() {
var b = document.all.tags("samp")
for ( i=0; i < b.length; i++)b.style.visibility =

(b.style.visibility == "" )? "hidden" : "" }
 
S

Steve Easton

In the body tag like this:

<body onload="startBlink()">

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer

JCO said:
If the two functions are on a script utility page that is loaded already,
where does the
"window.onload = startBlink" go?

I'm hoping I can do it this way?

Steve Easton said:
javascript.

<script type="text/javascript">
function doBlink() {
var b = document.all.tags("samp")
for ( i=0; i < b.length; i++)b.style.visibility =

(b.style.visibility == "" )? "hidden" : "" }
function startBlink() {
if (document.all)setInterval("doBlink()",1500)}
window.onload = startBlink;
</script>


Since the <blink> tag won't validate with W3C, I use the seldom used
surround the text you want to blink with the samp tags like this.

<samp>This text will blink</samp>

The script is set to blink the text every 1.5 seconds. Do not set it faster than 1 second, as it
can cause "light flicker syndrome" seizures in people prone to Epileptic seizures

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer
 
J

Jon Spivey

Hi,
The script Steve posted is self-contained (I recognise it as one of mine)
just copy and paste everything between (not including) the <script>
</script> tags into your script file and it will work. Only issue is the
blink won't work in netscape browsers - Steve's point about not using
<blink> is fair but if it was me I'd lose validation for the sake of browser
support and do

var b = document.all.tags("BLINK")
and then
<blink>blinking text</blink>

I don't think there's any benifit in getting validation for it's own sake -
unless you actually want to stick that little valid logo on your page. Your
choice - either way is fine.

--
Cheers,
Jon
Microsoft MVP

JCO said:
If the two functions are on a script utility page that is loaded already,
where does the
"window.onload = startBlink" go?

I'm hoping I can do it this way?

Steve Easton said:
javascript.

<script type="text/javascript">
function doBlink() {
var b = document.all.tags("samp")
for ( i=0; i < b.length; i++)b.style.visibility =

(b.style.visibility == "" )? "hidden" : "" }
function startBlink() {
if (document.all)setInterval("doBlink()",1500)}
window.onload = startBlink;
</script>


Since the <blink> tag won't validate with W3C, I use the seldom used
surround the text you want to blink with the samp tags like this.

<samp>This text will blink</samp>

The script is set to blink the text every 1.5 seconds. Do not set it faster than 1 second, as it
can cause "light flicker syndrome" seizures in people prone to Epileptic seizures

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer
 
J

JCO

Understood!
Thanks both of you!

Jon Spivey said:
Hi,
The script Steve posted is self-contained (I recognise it as one of mine)
just copy and paste everything between (not including) the <script>
</script> tags into your script file and it will work. Only issue is the
blink won't work in netscape browsers - Steve's point about not using
<blink> is fair but if it was me I'd lose validation for the sake of browser
support and do

var b = document.all.tags("BLINK")
and then
<blink>blinking text</blink>

I don't think there's any benifit in getting validation for it's own sake -
unless you actually want to stick that little valid logo on your page. Your
choice - either way is fine.

--
Cheers,
Jon
Microsoft MVP

JCO said:
If the two functions are on a script utility page that is loaded already,
where does the
"window.onload = startBlink" go?

I'm hoping I can do it this way?

Steve Easton said:
javascript.

<script type="text/javascript">
function doBlink() {
var b = document.all.tags("samp")
for ( i=0; i < b.length; i++)b.style.visibility =

(b.style.visibility == "" )? "hidden" : "" }
function startBlink() {
if (document.all)setInterval("doBlink()",1500)}
window.onload = startBlink;
</script>


Since the <blink> tag won't validate with W3C, I use the seldom used
surround the text you want to blink with the samp tags like this.

<samp>This text will blink</samp>

The script is set to blink the text every 1.5 seconds. Do not set it faster than 1 second, as it
can cause "light flicker syndrome" seizures in people prone to
Epileptic
seizures
--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer

I know this can be annoying but I really need to make a certain Text
Blink... for a short time. Can somebody tell me how this is achieved?
Thanks

 
S

Steve Easton

Interesting.
Get it to validate and it won't run in NN. sigh.....
I never used to be a fan of validating with W3C, but I decided to see what it takes, so I went about
setting up my hobby site so it validates.

Learned some interesting things:
Valid pages load and display faster.
Pages with a doctype declaration that have html that doesn't actually validate, load slower than
they would without any doctype at all.
Seems the browser starts to render the page, then when it comes across invalid code it stalls
momentarily while it switches to Quirks mode

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer

Jon Spivey said:
Hi,
The script Steve posted is self-contained (I recognise it as one of mine)
just copy and paste everything between (not including) the <script>
</script> tags into your script file and it will work. Only issue is the
blink won't work in netscape browsers - Steve's point about not using
<blink> is fair but if it was me I'd lose validation for the sake of browser
support and do

var b = document.all.tags("BLINK")
and then
<blink>blinking text</blink>

I don't think there's any benifit in getting validation for it's own sake -
unless you actually want to stick that little valid logo on your page. Your
choice - either way is fine.

--
Cheers,
Jon
Microsoft MVP

JCO said:
If the two functions are on a script utility page that is loaded already,
where does the
"window.onload = startBlink" go?

I'm hoping I can do it this way?

Steve Easton said:
javascript.

<script type="text/javascript">
function doBlink() {
var b = document.all.tags("samp")
for ( i=0; i < b.length; i++)b.style.visibility =

(b.style.visibility == "" )? "hidden" : "" }
function startBlink() {
if (document.all)setInterval("doBlink()",1500)}
window.onload = startBlink;
</script>


Since the <blink> tag won't validate with W3C, I use the seldom used
surround the text you want to blink with the samp tags like this.

<samp>This text will blink</samp>

The script is set to blink the text every 1.5 seconds. Do not set it faster than 1 second, as it
can cause "light flicker syndrome" seizures in people prone to Epileptic seizures

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer

I know this can be annoying but I really need to make a certain Text
Blink... for a short time. Can somebody tell me how this is achieved?
Thanks

 
B

Bob Lehmann

<run action="screaming from the room" intensity="15" />

Flashing text, flashing "boarders". HOLY CRAP!!! is your client insane???
What possible value could these cheesy effects add to their site?

What are they thinking?
Ya know, if we maybe had that thing blinkin' a little, I betcha some folk
might 'nary on click on that little fellar, cuz that would be rilly modern
and bleedin' edge and stuff like that thar. An' if enuff folk click on it, I
shor 'nuff might be able to buy me thet new leeshurr sute - that would be
SWEEE - EEEE - EEET! Heck fire, they maht evun thinks it a one of them thar
powno sites, and git rilly wurked up.

Flashing ads, whether animations or Flash(in the pan) are blocked in my
browser (Firefox, a modern browser) and never see the light of the day.

BTW, if boarders were flashing in my neighborhood, they may end up being
arrested.

Bob Lehmann


JCO said:
Even if I can't flash the text, is there anyway to flash a boarder around
the text. My text is currently in a single cell Table. If that would
flash, then I would not have to flash the text at all. Not sure which is
harder/easier.

Steve Easton said:
javascript.

<script type="text/javascript">
function doBlink() {
var b = document.all.tags("samp")
for ( i=0; i < b.length; i++)b.style.visibility =

(b.style.visibility == "" )? "hidden" : "" }
function startBlink() {
if (document.all)setInterval("doBlink()",1500)}
window.onload = startBlink;
</script>


Since the <blink> tag won't validate with W3C, I use the seldom used
surround the text you want to blink with the samp tags like this.

<samp>This text will blink</samp>

The script is set to blink the text every 1.5 seconds. Do not set it faster than 1 second, as it
can cause "light flicker syndrome" seizures in people prone to Epileptic seizures

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer
 
J

JCO

They are just making an announcement that will display for a few weeks then
it will be removed.
Like I said, I'm not a fan of it either but its only for a few weeks.

Bob Lehmann said:
<run action="screaming from the room" intensity="15" />

Flashing text, flashing "boarders". HOLY CRAP!!! is your client insane???
What possible value could these cheesy effects add to their site?

What are they thinking?
Ya know, if we maybe had that thing blinkin' a little, I betcha some folk
might 'nary on click on that little fellar, cuz that would be rilly modern
and bleedin' edge and stuff like that thar. An' if enuff folk click on it, I
shor 'nuff might be able to buy me thet new leeshurr sute - that would be
SWEEE - EEEE - EEET! Heck fire, they maht evun thinks it a one of them thar
powno sites, and git rilly wurked up.

Flashing ads, whether animations or Flash(in the pan) are blocked in my
browser (Firefox, a modern browser) and never see the light of the day.

BTW, if boarders were flashing in my neighborhood, they may end up being
arrested.

Bob Lehmann


JCO said:
Even if I can't flash the text, is there anyway to flash a boarder around
the text. My text is currently in a single cell Table. If that would
flash, then I would not have to flash the text at all. Not sure which is
harder/easier.

Steve Easton said:
javascript.

<script type="text/javascript">
function doBlink() {
var b = document.all.tags("samp")
for ( i=0; i < b.length; i++)b.style.visibility =

(b.style.visibility == "" )? "hidden" : "" }
function startBlink() {
if (document.all)setInterval("doBlink()",1500)}
window.onload = startBlink;
</script>


Since the <blink> tag won't validate with W3C, I use the seldom used
surround the text you want to blink with the samp tags like this.

<samp>This text will blink</samp>

The script is set to blink the text every 1.5 seconds. Do not set it faster than 1 second, as it
can cause "light flicker syndrome" seizures in people prone to
Epileptic
seizures
--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer

I know this can be annoying but I really need to make a certain Text
Blink... for a short time. Can somebody tell me how this is achieved?
Thanks

 
J

JCO

Stave's Method works with IE6. I also use FireFox (which it does not work).
Bob, your method is much easier to implement and I appreciate it. I tried
it and it works well with FireFox, however, I did not get it to work with IE
6.

Any thoughts on this? Did I miss something?


Bob Lehmann said:
<run action="screaming from the room" intensity="15" />

Flashing text, flashing "boarders". HOLY CRAP!!! is your client insane???
What possible value could these cheesy effects add to their site?

What are they thinking?
Ya know, if we maybe had that thing blinkin' a little, I betcha some folk
might 'nary on click on that little fellar, cuz that would be rilly modern
and bleedin' edge and stuff like that thar. An' if enuff folk click on it, I
shor 'nuff might be able to buy me thet new leeshurr sute - that would be
SWEEE - EEEE - EEET! Heck fire, they maht evun thinks it a one of them thar
powno sites, and git rilly wurked up.

Flashing ads, whether animations or Flash(in the pan) are blocked in my
browser (Firefox, a modern browser) and never see the light of the day.

BTW, if boarders were flashing in my neighborhood, they may end up being
arrested.

Bob Lehmann


JCO said:
Even if I can't flash the text, is there anyway to flash a boarder around
the text. My text is currently in a single cell Table. If that would
flash, then I would not have to flash the text at all. Not sure which is
harder/easier.

Steve Easton said:
javascript.

<script type="text/javascript">
function doBlink() {
var b = document.all.tags("samp")
for ( i=0; i < b.length; i++)b.style.visibility =

(b.style.visibility == "" )? "hidden" : "" }
function startBlink() {
if (document.all)setInterval("doBlink()",1500)}
window.onload = startBlink;
</script>


Since the <blink> tag won't validate with W3C, I use the seldom used
surround the text you want to blink with the samp tags like this.

<samp>This text will blink</samp>

The script is set to blink the text every 1.5 seconds. Do not set it faster than 1 second, as it
can cause "light flicker syndrome" seizures in people prone to
Epileptic
seizures
--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer

I know this can be annoying but I really need to make a certain Text
Blink... for a short time. Can somebody tell me how this is achieved?
Thanks

 
J

Jon Spivey

I agree 100% - blinking text is totally stupid. Problem is calling clients
stupid might not be a good business model - you can advise the client but if
he doesn't take your advise do you want to get satisfaction from calling him
a moron and walking away or do you want to get satisfaction from banking his
cheque :)

--
Cheers,
Jon
Microsoft MVP

Bob Lehmann said:
<run action="screaming from the room" intensity="15" />

Flashing text, flashing "boarders". HOLY CRAP!!! is your client insane???
What possible value could these cheesy effects add to their site?

What are they thinking?
Ya know, if we maybe had that thing blinkin' a little, I betcha some folk
might 'nary on click on that little fellar, cuz that would be rilly modern
and bleedin' edge and stuff like that thar. An' if enuff folk click on it,
I
shor 'nuff might be able to buy me thet new leeshurr sute - that would be
SWEEE - EEEE - EEET! Heck fire, they maht evun thinks it a one of them
thar
powno sites, and git rilly wurked up.

Flashing ads, whether animations or Flash(in the pan) are blocked in my
browser (Firefox, a modern browser) and never see the light of the day.

BTW, if boarders were flashing in my neighborhood, they may end up being
arrested.

Bob Lehmann


JCO said:
Even if I can't flash the text, is there anyway to flash a boarder around
the text. My text is currently in a single cell Table. If that would
flash, then I would not have to flash the text at all. Not sure which is
harder/easier.

Steve Easton said:
javascript.

<script type="text/javascript">
function doBlink() {
var b = document.all.tags("samp")
for ( i=0; i < b.length; i++)b.style.visibility =

(b.style.visibility == "" )? "hidden" : "" }
function startBlink() {
if (document.all)setInterval("doBlink()",1500)}
window.onload = startBlink;
</script>


Since the <blink> tag won't validate with W3C, I use the seldom used
surround the text you want to blink with the samp tags like this.

<samp>This text will blink</samp>

The script is set to blink the text every 1.5 seconds. Do not set it faster than 1 second, as it
can cause "light flicker syndrome" seizures in people prone to
Epileptic seizures

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer

I know this can be annoying but I really need to make a certain Text
Blink... for a short time. Can somebody tell me how this is
achieved?
Thanks

 
W

Wes

Yes, but maybe one can offer alternatives that would produce a satisfactory
response from the client (along with the check) ;-)

Jon Spivey said:
I agree 100% - blinking text is totally stupid. Problem is calling clients
stupid might not be a good business model - you can advise the client but
if he doesn't take your advise do you want to get satisfaction from calling
him a moron and walking away or do you want to get satisfaction from
banking his cheque :)

--
Cheers,
Jon
Microsoft MVP

Bob Lehmann said:
<run action="screaming from the room" intensity="15" />

Flashing text, flashing "boarders". HOLY CRAP!!! is your client insane???
What possible value could these cheesy effects add to their site?

What are they thinking?
Ya know, if we maybe had that thing blinkin' a little, I betcha some folk
might 'nary on click on that little fellar, cuz that would be rilly
modern
and bleedin' edge and stuff like that thar. An' if enuff folk click on
it, I
shor 'nuff might be able to buy me thet new leeshurr sute - that would be
SWEEE - EEEE - EEET! Heck fire, they maht evun thinks it a one of them
thar
powno sites, and git rilly wurked up.

Flashing ads, whether animations or Flash(in the pan) are blocked in my
browser (Firefox, a modern browser) and never see the light of the day.

BTW, if boarders were flashing in my neighborhood, they may end up being
arrested.

Bob Lehmann


JCO said:
Even if I can't flash the text, is there anyway to flash a boarder
around
the text. My text is currently in a single cell Table. If that would
flash, then I would not have to flash the text at all. Not sure which
is
harder/easier.

javascript.

<script type="text/javascript">
function doBlink() {
var b = document.all.tags("samp")
for ( i=0; i < b.length; i++)b.style.visibility =
(b.style.visibility == "" )? "hidden" : "" }
function startBlink() {
if (document.all)setInterval("doBlink()",1500)}
window.onload = startBlink;
</script>


Since the <blink> tag won't validate with W3C, I use the seldom used
<samp> tag which will validate

surround the text you want to blink with the samp tags like this.

<samp>This text will blink</samp>

The script is set to blink the text every 1.5 seconds. Do not set it
faster than 1 second, as it
can cause "light flicker syndrome" seizures in people prone to
Epileptic
seizures

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer

I know this can be annoying but I really need to make a certain Text
Blink... for a short time. Can somebody tell me how this is
achieved?
Thanks


 
J

JCO

The alternatives, in this case, is for me to remove after 2-weeks.

Wes said:
Yes, but maybe one can offer alternatives that would produce a satisfactory
response from the client (along with the check) ;-)

Jon Spivey said:
I agree 100% - blinking text is totally stupid. Problem is calling clients
stupid might not be a good business model - you can advise the client but
if he doesn't take your advise do you want to get satisfaction from calling
him a moron and walking away or do you want to get satisfaction from
banking his cheque :)

--
Cheers,
Jon
Microsoft MVP

Bob Lehmann said:
<run action="screaming from the room" intensity="15" />

Flashing text, flashing "boarders". HOLY CRAP!!! is your client insane???
What possible value could these cheesy effects add to their site?

What are they thinking?
Ya know, if we maybe had that thing blinkin' a little, I betcha some folk
might 'nary on click on that little fellar, cuz that would be rilly
modern
and bleedin' edge and stuff like that thar. An' if enuff folk click on
it, I
shor 'nuff might be able to buy me thet new leeshurr sute - that would be
SWEEE - EEEE - EEET! Heck fire, they maht evun thinks it a one of them
thar
powno sites, and git rilly wurked up.

Flashing ads, whether animations or Flash(in the pan) are blocked in my
browser (Firefox, a modern browser) and never see the light of the day.

BTW, if boarders were flashing in my neighborhood, they may end up being
arrested.

Bob Lehmann


Even if I can't flash the text, is there anyway to flash a boarder
around
the text. My text is currently in a single cell Table. If that would
flash, then I would not have to flash the text at all. Not sure which
is
harder/easier.

javascript.

<script type="text/javascript">
function doBlink() {
var b = document.all.tags("samp")
for ( i=0; i < b.length; i++)b.style.visibility =
(b.style.visibility == "" )? "hidden" : "" }
function startBlink() {
if (document.all)setInterval("doBlink()",1500)}
window.onload = startBlink;
</script>


Since the <blink> tag won't validate with W3C, I use the seldom used
<samp> tag which will validate

surround the text you want to blink with the samp tags like this.

<samp>This text will blink</samp>

The script is set to blink the text every 1.5 seconds. Do not set it
faster than 1 second, as it
can cause "light flicker syndrome" seizures in people prone to
Epileptic
seizures

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer

I know this can be annoying but I really need to make a certain Text
Blink... for a short time. Can somebody tell me how this is
achieved?
Thanks


 
J

Jon Spivey

Tell him why it's not a good idea but don't push it. If he accepts your
advice great.. If he doesnt explain that you're skilled enough as a
developer to know the best way to do what he wants and tell him why his
blinking text will be better than his competition.

--
Cheers,
Jon
Microsoft MVP

Wes said:
Yes, but maybe one can offer alternatives that would produce a
satisfactory response from the client (along with the check) ;-)

Jon Spivey said:
I agree 100% - blinking text is totally stupid. Problem is calling clients
stupid might not be a good business model - you can advise the client but
if he doesn't take your advise do you want to get satisfaction from
calling him a moron and walking away or do you want to get satisfaction
from banking his cheque :)

--
Cheers,
Jon
Microsoft MVP

Bob Lehmann said:
<run action="screaming from the room" intensity="15" />

Flashing text, flashing "boarders". HOLY CRAP!!! is your client
insane???
What possible value could these cheesy effects add to their site?

What are they thinking?
Ya know, if we maybe had that thing blinkin' a little, I betcha some
folk
might 'nary on click on that little fellar, cuz that would be rilly
modern
and bleedin' edge and stuff like that thar. An' if enuff folk click on
it, I
shor 'nuff might be able to buy me thet new leeshurr sute - that would
be
SWEEE - EEEE - EEET! Heck fire, they maht evun thinks it a one of them
thar
powno sites, and git rilly wurked up.

Flashing ads, whether animations or Flash(in the pan) are blocked in my
browser (Firefox, a modern browser) and never see the light of the day.

BTW, if boarders were flashing in my neighborhood, they may end up being
arrested.

Bob Lehmann


Even if I can't flash the text, is there anyway to flash a boarder
around
the text. My text is currently in a single cell Table. If that would
flash, then I would not have to flash the text at all. Not sure which
is
harder/easier.

javascript.

<script type="text/javascript">
function doBlink() {
var b = document.all.tags("samp")
for ( i=0; i < b.length; i++)b.style.visibility =
(b.style.visibility == "" )? "hidden" : "" }
function startBlink() {
if (document.all)setInterval("doBlink()",1500)}
window.onload = startBlink;
</script>


Since the <blink> tag won't validate with W3C, I use the seldom used
<samp> tag which will validate

surround the text you want to blink with the samp tags like this.

<samp>This text will blink</samp>

The script is set to blink the text every 1.5 seconds. Do not set it
faster than 1 second, as it
can cause "light flicker syndrome" seizures in people prone to
Epileptic
seizures

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer

I know this can be annoying but I really need to make a certain
Text
Blink... for a short time. Can somebody tell me how this is
achieved?
Thanks


 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top