سؤال

When copying a link on bit.ly they use an interesting flash effect. I have created a screencast on the topic. I am wondering how to go about implementing this effect.

If anyone knows of a simple way to implement zero clipboard please reply. I have found zero clipboard to be tough to implement without issues.

هل كانت مفيدة؟

المحلول

Are you talking about this effect: http://jsfiddle.net/6XfMs/6/ ? It's easy to implement using jQuery animation:

jQuery('#element').animate(
{
   opacity: 0,
   top: '-=100',
}, 500);
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top