Re: Text Blinking
From: Steve Easton (admin_at_95isalive.com)
Date: 01/01/05
- Next message: Crash Gordon®\: "Re: Why can't all gif or jpg files be inserted? I am following Step-."
- Previous message: Crash Gordon®\: "Re: [OT] Tsunami Site"
- In reply to: JCO: "Re: Text Blinking"
- Next in thread: Jon Spivey: "Re: Text Blinking"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 1 Jan 2005 18:03:51 -0500
In the body tag like this:
<body onload="startBlink()">
--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer
" JCO" <J.Oliviero@verizon.net> wrote in message news:u5FBd.31246$h.28561@trnddc04...
> 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" <admin@95isalive.com> wrote in message
> news:ujXnIJD8EHA.3700@tk2msftngp13.phx.gbl...
> > javascript.
> >
> > <script type="text/javascript">
> > function doBlink() {
> > var b = document.all.tags("samp")
> > for ( i=0; i < b.length; i++)b[i].style.visibility =
> (b[i].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
> >
> > " JCO" <J.Oliviero@verizon.net> wrote in message
> news:p2CBd.21821$_62.18040@trnddc01...
> > > 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
> > >
> > >
> >
> >
>
>
- Next message: Crash Gordon®\: "Re: Why can't all gif or jpg files be inserted? I am following Step-."
- Previous message: Crash Gordon®\: "Re: [OT] Tsunami Site"
- In reply to: JCO: "Re: Text Blinking"
- Next in thread: Jon Spivey: "Re: Text Blinking"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|