Aug 22, 2014 in Others 3784 views
Chaffle is a jquery plug-in that allows you to shuffle randomly character.
Source: git.blivesta.com
1. INCLUDE JS FILES
<!-- Vendor js --> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <!-- chaffle js --> <script src="./js/chaffle.min.js"></script>
2. HTML
<a href="#" class="chaffle" data-lang="en">Engligh</a> <a href="#" class="chaffle" data-lang="ja">日本語(漢字)</a> <a href="#" class="chaffle" data-lang="ja-hiragana">ひらがな</a> <a href="#" class="chaffle" data-lang="ja-katakana">カタカナ</a>
3. JAVASCRIPT
$(document).ready(function() { $('.chaffle').chaffle(); });
Tagged with:
chaffle
jquery plug-in
shuffle
randomly
character
shuffle character
randomly character
Related Articles