Lightweight jQuery Based Lorem Ipsum Generator - Ipsum Everything

File Size: Unknown
Views Total: 1343
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
Lightweight jQuery Based Lorem Ipsum Generator - Ipsum Everything

Ipsum Everything is a simple lightweight jQuery plugin to generate dummy text in a target container by using a variety of online lorem ipsum APIs.

Basic Usage:

1. Load the jQuery library and the jQuery Ipsum plugin at the bottom of your web page.

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="ipsum-everything.min.js"></script>

2. Create a container element where you wish to place the dummy text.

<div id= "demo"></div>

3. Call the plugin on the container element you just created.

$('#demo').ipsum({
  paras: 5, // The number of paragraphs.
  type: "skate" // The type of online lorem ipsum APIs.See the list below.
});

4. The plugin currently supports:

  • hipster-latin (Hipster Ipsum)
  • hipster-centric (Hipster Ipsum)
  • bacon (Bacon Ipsum)
  • bacon-all-meat (Bacon Ipsum)
  • skate (Skate Ipsum)
  • baseball (Baseball Ipsum)
  • pony (Pony Ipsum)
  • all-pony (Pony Ipsum)
  • science (Science Ipsum)

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