Weasel
👄 I'd intercept me
With help from
Javascript:
Countdown from 10-0:
You must be registered for see links
(thanks), a little piece of Javascript. Title is explanation enough. Might be helpfull for you guys to use.Javascript:
Code:
function redirect() {
$('#DIVID').fadeOut(1000, function() {
location.href = 'http://YOURWEBSITE.com/';
});
}
function countDown() {
countdown--;
if (countdown == -1) {
redirect();
return;
}
$('#countdown-holder').html(countdown);
setTimeout(countDown, 1000);
}
var countdown = 10;
$(function() {
$('#DIVID').hide();
$('#DIVID').fadeIn(1000, function() {
countDown();
});
$('#DIVID').click(redirect);
});
Countdown from 10-0:
Code:
<span id="countdown-holder">10</span>