简体   繁体   中英

Stop blink (jQuery plugin) using stopInterval

I am using this jQuery plugin for text blink http://plugins.jquery.com/project/blink

But I don't know how to modify it to do a .stopblink()

Can someone help?

Tanks

您可以将另一个方法附加到对setInterval()执行clearInterval()的插件,该方法用于切换visibility CSS属性。

With that improved version (source code inside post "Here is an improved the" ) you can stop blinking this way ...

$('.blink').unblink();

Blink for a while and stop ...

$('.blink').blink();
setTimeout("$('.blink').unblink();", 2000);

Some users are improving jquery-blink in the comments of the official page

http://www.antiyes.com/jquery-blink-plugin

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM