Results 1 to 6 of 6

Thread: I got this script of countdown timer !

  1. #1
    Join Date
    Mar 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question I got this script of countdown timer !

    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.
    Last edited by djr33; 09-09-2010 at 01:21 AM. Reason: removed large bold font...

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Change it from a txt to a js

    Code:
    <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.
    Last edited by bluewalrus; 09-09-2010 at 12:19 PM.
    Corrections to my coding/thoughts welcome.

  3. #3
    Join Date
    Mar 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  4. #4
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    I dont know what you mean.
    Corrections to my coding/thoughts welcome.

  5. #5
    Join Date
    Mar 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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 ?

  6. #6
    Join Date
    Sep 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You mean how to generally call a javascript? In so case just put onClick="nameOfScriptMethod" in submitbutton tag

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •