<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Yet another Countdown Timer</title>
	<link>http://askmichel.icoder.com/2006/08/10/yet-another-countdown-timer/</link>
	<description>i Code to help you profit!</description>
	<pubDate>Sat, 22 Nov 2008 04:18:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.3</generator>

	<item>
		<title>by: michel</title>
		<link>http://askmichel.icoder.com/2006/08/10/yet-another-countdown-timer/#comment-184</link>
		<pubDate>Thu, 27 Sep 2007 18:33:09 +0000</pubDate>
		<guid>http://askmichel.icoder.com/2006/08/10/yet-another-countdown-timer/#comment-184</guid>
					<description>Hello Peter,

1) Download these javascript from
http://blog.go-test.net/wp-content/uploads/2006/07/timer.js
to your local PC.

2) Open the script with a text editor (i.e. Notepad)

3) Find this code-lines at the top of the file (lines from 8 to 12):
&lt;code&gt;if (time.getTime() &amp;#62; timerEnd.getTime())
{
 &amp;#160; expired = 1;
}
else&lt;/code&gt;

4) Add this code (in red) to redirect them to a new page:
&lt;code&gt;if (time.getTime() &amp;#62; timerEnd.getTime())
{
 &amp;#160; expired = 1;
 &amp;#160; &lt;span style=&quot;color:red;&quot;&gt;location.assign(&amp;#34;http://yoursite.com/new-page.html&amp;#34;);&lt;/span&gt;
}
else&lt;/code&gt;

Hope this helps.

Michel</description>
		<content:encoded><![CDATA[<p>Hello Peter,</p>
<p>1) Download these javascript from<br />
<a href='http://blog.go-test.net/wp-content/uploads/2006/07/timer.js' rel='nofollow'>http://blog.go-test.net/wp-content/uploads/2006/07/timer.js</a><br />
to your local PC.</p>
<p>2) Open the script with a text editor (i.e. Notepad)</p>
<p>3) Find this code-lines at the top of the file (lines from 8 to 12):<br />
<code>if (time.getTime() &gt; timerEnd.getTime())<br />
{<br />
 &nbsp; expired = 1;<br />
}<br />
else</code></p>
<p>4) Add this code (in red) to redirect them to a new page:<br />
<code>if (time.getTime() &gt; timerEnd.getTime())<br />
{<br />
 &nbsp; expired = 1;<br />
 &nbsp; <span style="color:red;">location.assign(&quot;http://yoursite.com/new-page.html&quot;);</span><br />
}<br />
else</code></p>
<p>Hope this helps.</p>
<p>Michel
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: pk80356</title>
		<link>http://askmichel.icoder.com/2006/08/10/yet-another-countdown-timer/#comment-183</link>
		<pubDate>Tue, 18 Sep 2007 13:55:14 +0000</pubDate>
		<guid>http://askmichel.icoder.com/2006/08/10/yet-another-countdown-timer/#comment-183</guid>
					<description>Hi Michel,

This is a great script and I am using it on my own site.  It rocks.  I was wondering if you know how I can add a line of code that will redirect the user to a new page after the countdown timer reaches 0.  Right now, when the countdown reaches 0, the page does not redirect.  How can I do that?  I really appreciate your help.  Thank you in advance.</description>
		<content:encoded><![CDATA[<p>Hi Michel,</p>
<p>This is a great script and I am using it on my own site.  It rocks.  I was wondering if you know how I can add a line of code that will redirect the user to a new page after the countdown timer reaches 0.  Right now, when the countdown reaches 0, the page does not redirect.  How can I do that?  I really appreciate your help.  Thank you in advance.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
