PDA

View Full Version : I got this script of countdown timer !



Rajnish357
09-08-2010, 11:13 PM
I got this timer script form http://indiabix.com/online-test/c-programming-test/11 aurl's page source :

See the script is also here:-
http://www.fillsout.freeftp.eu/script.txt

As everyone knows I can Copy the script from the page source but can not copy the calling code of the script so that why I am here, I want to know how to call this script in my post.

I want to use this script on wordpress can any one help me.

bluewalrus
09-09-2010, 01:13 AM
Change it from a txt to a js


<script type="text/javascript" src="http://www.fillsout.freeftp.eu/script.js"></script>

Also remove the

<script type="text/javascript" charset="utf-8"> and the </script> from that file those are called in the linking and file extension.

Rajnish357
09-14-2010, 07:19 PM
I think I haven't described my problem correctly, sorry for that but Now I want to tell you that I want to know that What code I will put in my template or post or page to display the timer there.

bluewalrus
09-14-2010, 08:14 PM
I dont know what you mean.

Rajnish357
09-15-2010, 08:23 AM
Ok I will make you understand this time just do what I say:

1. open this link http://indiabix.com/online-test/c-programming-test/11
2. Click on Start Test

and now you will see a timer running on upper right corner, That time I want to show on my blog. How can I do that ?

RoarF
09-16-2010, 12:15 PM
You mean how to generally call a javascript? In so case just put onClick="nameOfScriptMethod" in submitbutton tag