On 3/3/03 6:03 PM, "Wally Hartley" <[EMAIL PROTECTED]> wrote:
> Hello All-- > > I am responsible for development of a website for a local club event and > would like to have a countdown timer on the first page. > > i.e. "There are only x days left until such and such" where x is the number > of days remaining to the date of the event. > 2. Can it be done with HTML alone or is JavaScript needed? This will be done with a server side include, which will depend on the capabilities and configuration of your site's host server. The server side include will insure that the countdown timer is correct at the moment the page is loaded. For a cooler effect, combine the server side include with JavaScript to make the countdown effect "live" in the browser window, counting down seconds, minutes, hours, days. A periodic refresh of page will keep the local JavaScript in sync. I use Macintosh OS 9 servers running WebSTAR 4.x. Maximum's NetCloak will maintain timers: <http://www.maxum.com/NetCloak/> For an example of a dynamic clock done with NetCloak (simple statement of business hours, whether the office is open or not), see this web page: <http://www.satterwhite-log-homes.com/> Netcloak is *very* handy for a multitude of web server tricks. Danny Grizzle -- Mac Webmasters is sponsored by <http://lowendmac.com/> and... Small Dog Electronics has Lasso, Filemaker, and FileMaker Server on Sale! High Technology for low prices. http://www.smalldog.com Support Low End Mac <http://lowendmac.com/lists/support.html> Mac Webmasters info: <http://lowendmac.com/lists/macweb.shtml> --> AOL users, remove "mailto:" Send list messages to: <mailto:[EMAIL PROTECTED]> To unsubscribe, email: <mailto:[EMAIL PROTECTED]> For digest mode, email: <mailto:[EMAIL PROTECTED]> Subscription questions: <mailto:[EMAIL PROTECTED]> List archive: <http://www.mail-archive.com/mac.webmasters%40mail.maclaunch.com/> Using a Mac? Free email & more at Applelinks! http://www.applelinks.com
