A free jQuery Plugin with jQuery selfw is Typewriter effect plugin. Add you to print any text or character on the web screen at a fixed or random speed. Selfw is a plugin for jQuery to auto write character letter by letter.
Table of Contents
How to used ?
Add the plugin file the selfw.js
script after jQuery.
<script src="/path/to/cdn/jquery.slim.min.js"></script>
<script src="/path/to/selfw.js"></script>
add the function on the existing text content and the plugin will do the rest.
<p id="text">
Any Text Here
</p>
$(function(){
$("#text").selfw()
});
define the text in the text
parameter.
<p id="text">
<!-- Empty Container -->
</p>
$(function(){
$("#text").selfw({
text: 'Your Text Here'
})
});
Change the typing speed.
$(function(){
$("#text").selfw({
time: 200,
})
});
change randomly the speed of typing.
$(function(){
$("#text").selfw({
random: true
})
});
Done
Thanks for make jQuery plugin is developed by anndreyy For more Helpfull for users, please check the demo page or visit the official website.