1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-25 10:42:17 -05:00
kaiwa/public/awesome-andbang-ad.js

16 lines
650 B
JavaScript
Raw Normal View History

2013-06-03 18:51:30 -04:00
// picks a random thing from this list (html is fine) and shows it.
function showAd() {
var messages = [
'Have more fun, get more done with your team. And Bang is currently in free private beta.',
'And Bang is simple and powerful tasks and chat for teams. Join the free private beta now.',
'Create a culture of shipping, one rocket at a time. And Bang is free while in private beta.',
'An API for what\'s important right now. And Bang is free while in private beta.'
],
message = messages[Math.floor(Math.random()*messages.length)];
$('#ad').html(message);
setTimeout(showAd, 30000);
}
showAd();