Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery.fn.showQuote = function(selector, quote) {
- $(selector).append("<b>" + quote + "</b>")
- }
- jQuery.fn.loadingDistraction = function (){
- var quotes= [
- "Words go here.",
- "Blar blar, talking.",
- "Speaking here, talk talk."
- ];
- // ======================================
- // Do not change anything below this line
- // ======================================
- var Q = quotes.length;
- var random_index = Math.round(Math.random()*(Q-1));
- $.fn.showQuotation("#quote_box", quotes[random_index]);
- }
Add Comment
Please, Sign In to add comment