Font-Awesome/whats-new/assets/js/site.js

19 lines
715 B
JavaScript
Raw Normal View History

2014-07-14 05:19:31 +08:00
$(function() {
// start the icon carousel
$('#icon-carousel').carousel({
interval: 5000
});
var quotes = new Array(
"Get your <strong>company logo</strong> added to Font Awesome!",
"Get your <strong>company logo</strong> added to Font Awesome!",
"Want SVG support in Font Awesome? Support the Kickstarter!",
"Major improvements to Font Awesome at 3,000 backers!",
"Better Font Awesome icon search at 3,000 backers!",
"Need a specific icon added to Font Awesome?",
"If you like Font Awesome, you're going to love <strong>Black Tie</strong>!"
),
random_quote = quotes[Math.floor( Math.random() * quotes.length )];
$('.tagline').html(random_quote);
});