Ever wondered how to blink a text using javascript ? Well, here is the simple way to do using Jquery
[javascript]
This will blink
function blink(selector){ $(selector).fadeOut('slow', function(){ $(this).fadeIn('slow', function(){ blink(this); }); }); }
blink('#msg');
[/javascript]
To blink fast, you can change the speed of the FadeIn and FadeOut function.
Demo : http://www.whmphp.com/trial.php
Be sure to include jquery in your code 🙂
THX.. IT IS WORKING
Nice !!! but one thing, how to set blink only three times only.This is just for infinite.
This is working thanx
How to search a string for a specified value, and returns the text of the found value and how to blink it?
Why dont you try jQuery Core: pulsate?
http://docs.jquery.com/UI/Effects/Pulsate
100% works very well. Thank you for script, Buddy!
It’s working very nice…. THNX