Comments to: skorvemaker at gmail dot com
First release: 04/29/2008
Based on code found at: http://javascript.internet.com/generators/lorem-ipsum-generator.html
Options
type- Allows you to specify what kind of result you want to see. You may use: paragraphs, words or characters
amount- Allows you specify an amount. E.g. 5 paragraphs. Integer
ptags- Allows you to add <P> around each paragraph. True or false
Example code
$(document).ready(function() {
$('.ipsum').lorem({ type: 'paragraphs',amount:'4',ptags:true});
});
Download
Plugin source code: jquery.lorem.jsDemo
Code used in demo:<input type="button" onclick="$('.ipsum').lorem({ type: 'words',amount:'100',ptags:true});" value="click here for demo" />