Count Down

Count DownThis will let you count the number of days remaining to reach a given event : for instance days left before we reach the year 2007:

<script language="javascript">

function chrono()
{
jour=Date.parse("Jan 1, 2004 GMT") - Date.parse(new Date);
return(Math.round(jour/(24*60*60*1000)))
}
document.write("Still "+chrono()+" days before we reach the year 2007");

</script>

Of course it is possible to change this to any date you want.

Next you can see the example!


Related Articles

  • Counter in ASP
    A hit counter is an essential part of a site to know how many people are coming to site. Here is an easy way to make a counter. All you need is access to ASP and be able to give a write access to a directory...
  • IP Banning
    Like many webmasters, youre bound to attract some annoying visitors, such as spammers. This is inevitable, but you can fight back. The simplest method of cyber combat is banning the IP, although this is not the most powerful method it works 90% of the time.
  • Count Down
    This will let you count the number of days remaining to reach a given event : for instance days left before we reach the year 2010
  • Simple Hit Counter
    Use this simple script for a basic click counter to display the amount of hits to your site.
  • Outwards Link Counter
    This will allow you to create a script that will count the amount of times a certain link has been clicked and display the results on your page.
  • Bouncing Text
    Looking to add a little bounce to your text? Add this code to your page. The simple copy and paste technique offered here makes it easy.
  • Still Room At The Top! (AltaVista search engine ranking)
    There are millions of web sites, with more being added daily. Guess what! A great many of them fail to use proper meta tags or keyword frequency. They will never get a high ...
  • Content is Key to Web Site Success
    No matter how flashy or great your Web site looks, if you dont have good content you are in a boat without a paddle. I can not count the times that I have said that content is key to a Web sites success. Too many times to count...
  • Option Boxes
    A lovely and well written bit of code that could be useful in so many ways. Two option boxes side by side that allow the user to select options in the first box and move them to the Your Choices box next to it
  • Essentials of Keyword Density
    Keyword density describes the number of the times a particular keyword is used in the content on the webpage.

Contact Web Design Outsource and get started today

Need Website Designing, Development, Redesigning, Maintenance and SEO services or help growing your company's web presence? Request a free Quote Now.