Font-Awesome/assets/js/site.js

18 lines
679 B
JavaScript
Raw Normal View History

2013-05-11 00:00:01 +08:00
$(function() {
// start the icon carousel
2013-10-23 23:12:39 +08:00
$('#icon-carousel').carousel({
2013-05-11 00:00:01 +08:00
interval: 5000
});
var quotes = new Array(
2014-07-11 01:31:14 +08:00
"Donate $1 and help Font Awesome get <strong>MAJOR upgrades!</strong>",
"Donate $1 and help give Font Awesome <strong>SVG support!</strong>",
"Donate $1 and help give Font Awesome <strong>better icon search!</strong>",
"Get your <strong>company logo</strong> added to Font Awesome!",
"Get your <strong>company logo</strong> added to Font Awesome!",
"Need a specific icon added to Font Awesome?"
),
random_quote = quotes[Math.floor( Math.random() * quotes.length )];
$('.tagline').html(random_quote);
2013-05-11 00:00:01 +08:00
});