Generate Random Ipsum Lorem Snippets With jQuery - Ipsum

Generate Random Ipsum Lorem Snippets With jQuery - Ipsum
File Size: 4.07 KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

Yet another dummy text generator for jQuery that allows you to generate random Ipsum Lorem Snippets for model content.

How to use it:

1. Download and insert the JavaScript file jquery.ipsum.js after you've loaded the latest jQuery JavaScript library as follow:

<script src="//code.jquery.com/jquery.min.js"></script>
<script src="jquery.ipsum.js"></script>

2. Add the 'data-ipsum' attribute to the target text container in which you want to generate the random Ipsum Lorem strings, and specify the number of characters you want to generate as follow.

<div class="panel-body" data-ipsum="120">
  ...
</div>

3. That's it. You can also override the Ipsum Lorem strings from which you want to generate in a specific container.

 var string = 'Ipsum ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut ' +
              'labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. ' +
              'Stet clita kasd gubergren, no sea takimata sanctus est Ipsum ipsum dolor sit amet.';

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