Znalazłem fajny skrypt i darmowy: http://krzysztof-furtak.pl/2010/05/kk-coun...-jquery-plugin/
Ale mam problem:
Dostaję taki zwrot-błąd:
$(".kkcount-down") is null
$(".kkcount-down").kkcountdown({
Kod poniżej (ale nie ma tam nic dziwnego):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style type="text/css"> body{ font-size: 10px; text-align: center; margin: auto; font-family: Verdana, sans-serif; color: #ffffff; } #content{ width: 800px; text-align: center; margin: auto; } #odliczanie-a{ font-size: 26px; font-family: Verdana, sans-serif; } .shadow{ text-shadow: 1px 1px 1px #333; } .one-day{ color: red; } </style> <script type="text/javascript"> $(document).ready(function(){ $(".kkcount-down").kkcountdown({ dayText : ' dni i ', daysText : ' dni i ', hoursText : ':', minutesText : ':', secondsText : ' ', displayZeroDays : false, callback : test, addClass : 'shadow' }); }); function test(){ console.log('KONIEC'); } </script> </head> <body> <div id="odliczanie-a"> </div> </body> </html>