Lorem.js Dummy Text / Image Generator Native JS library that randomly generates Lorem Ipsum text and dummy images to use as placeholders in documents.
A Javascript Library To Get Easy Lorem Ipsum Text Generator
How to make use of it:
1. Download Insert the JavaScript file “lorem.js” into the document.
<script src="lorem.js"></script>
2. Set up the number of paragraphs, sentences, and words to be generated using the “data-lorem” attributes as follows:
<div data-lorem="3p"> ... 3 paragraphs ... </div> <div data-lorem="10s"> ... 10 sentences ... </div> <div data-lorem="140w"> ... 140 words ... </div> <div data-lorem="10-140w"> ... 10 - 140 words ... </div>
3. You can also create placeholder images based on [lorempixel.com].
<img src="" data-lorem="sports/1/your message"> <img src="" data-lorem="gray"> <img src="" data-lorem="gray abstract">
Lorem Text And Placeholder Image Generator Plugin/Github
See Demo And Download
Official Website(f): Click Here
This superior jQuery/javascript plugin is developed by f. For extra advanced usage, please go to the official website.