This time I will share jQuery Plugin and tutorial about jQuery & Ajax Based Random Quote Generator – Random Quotes, hope it will help you in programming stack.
File Size: | 3.37 KB |
---|---|
Views Total: | 2505 |
Last Update: | |
Publish Date: | |
Official Website: | Go to website |
License: | MIT |
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.
1 |
< link rel = "stylesheet" href = "css/quotes.css" > |
2 |
< script src = "//code.jquery.com/jquery-1.11.3.min.js" ></ script > |
3 |
< script src = "js/quotes.js" ></ script > |
2. Create a DIV container that will display a random quote on page load.
1 |
< div class = "quotes" ></ div > |
3. Adds a random quote manually.
1 |
< button class = "add_more" >Add more</ button > |
4. Adds random quote automatically.
1 |
< 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.
source : jqueryscript.net