var menu = ' \ '; $('.navbar .nav-collapse').first().append(menu); $('a[rel=tooltip]').tooltip({ 'placement': 'bottom' }); var taglines = []; taglines.push('Free themes for Twitter Bootstrap'); taglines.push('Add color to your Bootstrap site without touching a color picker'); taglines.push('Saving the web from default Bootstrap'); taglines.push('Give your Bootstrap site a whole new feel'); taglines.push('Lose the black bar and blue buttons on your Bootstrap site'); var line = Math.floor((taglines.length) * Math.random()); $('#tagline').html(taglines[line]);