Display link after complete countdown time
Alternatively you can achieve that using the jQuery Countdown module

Example for development usage:

In this example, we display an alert box saying "You are done!" after counting down from 10...

&lt;?php
  echo '&lt;div class="countdown"&gt;10 seconds!&lt;/div&gt;';
  jquery_countdown_add(".countdown", array("until" =&gt; 10, "onExpiry" =&gt; "finished"));
  drupal_add_js("function finished() { alert('You are done!'); }", 'inline');
?&gt;