Question

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.

Était-ce utile?

La solution

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);
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top