Font-Awesome/assets/js/site.js

19 lines
715 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
"Get your <strong>company logo</strong> added to Font Awesome!",
"Get your <strong>company logo</strong> added to Font Awesome!",
2014-07-14 05:19:31 +08:00
"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);
2013-05-11 00:00:01 +08:00
});