• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Creating a Countdown

Sooner or later, you'll want to put a countdown on your pages that tells the user how many days or hours until a particular event. Script 10.6 lets one of the authors know his responsibilities, in no uncertain terms, as you can see in Figure 10.6. This is another technique that uses two scripts. The header script does all of the calculations, and the body script takes the calculation results, sticks them all together, and writes them out to the document window.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint