Copy to Clipboard in pure javascript

copy-to-clipboard-in-pure-javascript

copy to clipboard helps a user to quickly copy some particular text clicking on a button. Nowadays It’s a good user experience to avoid CTRL + C or right click open context menu and click copy.

Earlier we had to use some flash plugin to use this feature into a web app. The accessing clipboard was not enabled due to security reason. Now some modern browser supports document.execCommand() key method. In this tutorial, we’ll implement copy to the clipboard using few lines of pure javascript code, no jQuery, no flash .

Continue reading...

Facebook Like Reaction System

Reaction. Make your like more expressive, as not everything in life is likable.

On mouse over the “like” button, users can now see five more animated emoji with a default “Like” emoji. So say hello to new reactions “love,” “haha,” “wow,” “sad,” and “angry”.

In this tutorial, we’ll implement Reaction blueprint Using css3 and jQuery. We’ll not integrate any server side part. Means there will not be any ajax call.

Continue reading...