Easy Rare Characters Writing Plugin - Long Press

Easy Rare Characters Writing Plugin - Long Press
File Size: 52.7 KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

Long Press is a jQuery plugin that make it as simple as possible to insert accented or rare characters on any device like iOS and Android.  The letter can be picked by using mouse wheel, hovering over it with your mouse, or using arrow keys.

How to use it:

1. Add a textarea to your webpage

<textarea class="long-press" id="ta"></textarea>

2. Include necessart javascript files

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> 
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.8.2.min.js"><\/script>')</script> 
<script src="js/jquery.mousewheel.js"></script> 
<script src="js/plugins.js"></script> 
<script src="js/jquery.longpress.js"></script> 
<script src="js/app.js"></script> 

3. The CSS

<link rel="stylesheet" href="css/app.css">

Changelog:

2018-12-10

  • Updated jquery.longpress.js

2013-11-29

  • Fixed for compatibility with jQuery 1.10.2

This awesome jQuery plugin is developed by quentint. For more Advanced Usages, please check the demo page or visit the official website.