here is my countdown
$('span.countdown').each(function() {
var endtime = $(this).html();
$(this).countdown({
until: endtime,
format: 'dhmS',
layout: '{d<}{dn} days {d>}{h<}{hn} hours {h>}{m<}{mn} mins {m>}{sn} secs',
expiryUrl: self.location.href
});
});
}
i would like to redirect to index.php when countdown hits zero :)