From 4b6bb3e7c781fe6b831f16199de98bae65118e3f Mon Sep 17 00:00:00 2001 From: Thomas Park Date: Tue, 13 Mar 2012 00:36:34 -0400 Subject: index: added random taglines --- index.html | 3 ++- js/bootswatch.js | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index c3682a82..554f42d9 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,7 @@ + Bootswatch: Free themes for Twitter Bootstrap @@ -58,7 +59,7 @@

Bootswatch

-

Add color to your Bootstrap site without touching a color picker.

+

 

diff --git a/js/bootswatch.js b/js/bootswatch.js index 8111a151..3abbc701 100644 --- a/js/bootswatch.js +++ b/js/bootswatch.js @@ -44,3 +44,11 @@ menu = menu + ' \ $('a[rel=tooltip]').tooltip({ 'placement': 'bottom' }); + +var taglines = []; +taglines.push('Add color to your Bootstrap site without touching a color picker.'); +taglines.push('Saving the web from default Bootstrap.'); + +var line = Math.floor((taglines.length) * Math.random()); +$('#tagline').html(taglines[line]); + -- cgit v1.2.3