468,783 Members | 1,616 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,783 developers. It's quick & easy.

Blink a text

210 Expert 100+
Is there a way using animation extender to blink a text? IE does not support the css style text-decoration:blink so trying to use animation extender.

I am trying to create a list of to do items and apply a blinking effect if the item required immediate attention.

I used the following code to fade in and out but how do i make it last for ever (as long as user do not navigate away from the page)?

Expand|Select|Wrap|Line Numbers
  1. <asp:Panel ID="panmsg" runat="server">
  2.     <p>Requires Immediate Attention</p>
  3. </asp:Panel>
  4. <cc2:AnimationExtender runat="server" id="anmpanmsg" TargetControlID ="panmsg">
  5.     <Animations>
  6.         <OnLoad>
  7.             <Sequence>
  8.                 <Move Horizontal="300" Duration="1" Fps="20" />
  9.                 <FadeOut Duration="1" Fps="20" />
  10.                 <FadeIn Duration="1" Fps="20" />
  11.             </Sequence>
  12.         </OnLoad>
  13.     </Animations>
  14. </cc2:AnimationExtender>
  15.  
Dec 14 '09 #1

✓ answered by Frinavale

Yup, exactly my point.
You should find a different means to highlight the important text.


-Finny

7 5375
Frinavale
9,735 Expert Mod 8TB
I don't see a way to do this using the AnimationExtender.
I'd probably take a look at the Fade In/Fade Out effects supplied by JQuery...then hook up a JavaScript method to continuously call fade-in and fade-out.


Blink is nasty by the way. I feel that it cheapens the website...
There must be something else you could use instead?

-Frinny
Dec 14 '09 #2
semomaniz
210 Expert 100+
my boss want me to put in the blinking effect so was giving it a try, for the time being i created a gif and displayed it but will certainly change it to something else
Dec 14 '09 #3
semomaniz
210 Expert 100+
it sure is annoying when you put the blinking effect inside a repeater that displays hundreds of data
Dec 14 '09 #4
Frinavale
9,735 Expert Mod 8TB
Yup, exactly my point.
You should find a different means to highlight the important text.


-Finny
Dec 14 '09 #5
semomaniz
210 Expert 100+
I think color coding is the best approach for it.
Dec 14 '09 #6
if this is an aspx page you could also go about it by using a Label object and a Timer object and in the code section (don't know if you use a separate file or scripts within the page) you could add a c# or vb code that would change the Label1.Text property to nothing and then back to whatever it may be in the timer's code and set the timer's interval to whatever you want; don't forget to enable the timer. It might not be the best and professional way to do this but it is a start to consider. Again, this is if you are creating an aspx page. Post back if you have more questions.
Dec 15 '09 #7
ssnaik84
149 100+
check this jquery text animation script
-- Swapnil
Dec 15 '09 #8

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Justin Sane | last post: by
2 posts views Thread by Ian Frawley | last post: by
6 posts views Thread by Marco | last post: by
reply views Thread by =?Utf-8?B?QnJpYW5ESA==?= | last post: by
1 post views Thread by Pradyumna | last post: by
reply views Thread by zhoujie | last post: by
2 posts views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.