jQuery & Ajax Based Random Quote Generator - Random Quotes

File Size: 3.37 KB
Views Total: 2691
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
jQuery & Ajax Based Random Quote Generator - Random Quotes

Random Quotes is a small jQuery plugin which automatically adds random quotes from around the world to your website using andruxnet's Random Famous Quotes API.

How to use it:

1. Include jQuery library and the jQuery random quotes plugin's stylesheet and JavaScript files on the webpage.

<link rel="stylesheet" href="css/quotes.css">
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="js/quotes.js"></script>

2. Create a DIV container that will display a random quote on page load.

<div class="quotes"></div>

3. Adds a random quote manually.

<button class="add_more">Add more</button>

4. Adds random quote automatically.

<button class="auto_add">Auto Add</button>

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