mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-25 02:32:26 -05:00
16 lines
650 B
JavaScript
16 lines
650 B
JavaScript
// 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(); |