Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
HuskyPress/application.js
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
26 lines (22 sloc)
687 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var taglines = ["Save files to a USB drive, use your own printer, and get better performance.", "Access the vPC from your iPad!", "Use a computer lab even during a blizzard."]; | |
var index = 0; | |
function swapTagline () { | |
var tl = $(".tagline"); | |
tl.fadeOut('slow', function () { | |
tl.html(taglines[++index % taglines.length]); | |
}); | |
tl.fadeIn('slow'); | |
setTimeout('swapTagline()', 9000); | |
} | |
$(function () { | |
setTimeout('swapTagline()', 9000); | |
var b = BrowserDetect.OS; | |
if (b in { Mac:1, Windows:1, iPad:1, Linux:1, Android:1 }) { | |
$("#download_link").attr('href', '/help/' + b); | |
} | |
$("#accordion").accordion({ | |
autoHeight: false, | |
header: "h2", | |
collapsible: true | |
}); | |
}); |