
Recent articles
© Dial Solutions Ltd 2009 - 2012
| Embedded Date CountdownA countdown to a given date can be embedded into an article using a simple tag. By entering the text [DayCountdown:date,pre-text,post-text] (where date is the date to count down to, pre-text appears before the countdown, and post text after it) anywhere in a text item on a page, the date countdown will be embedded on the page. The date can be in more or less any sane human readable format, but note that 9/11/2009 is the 11th September rather than the 9th of November. Using this as an example: [DayCountdown:December 25th 2009,It's only,to christmas!] On the 15th December 2009 it will output: It's only 10 days to christmas! On December 24th 2009 it will output: On December 25th 2009 and forever afterwards it will output nothing. Here we have used [DayCountdown:December 25th 2015,It's only,to christmas 2015!] to embed a countdown to christmas 2015. It's only 1418 days to christmas 2015! To change the colour or appearance of the countdown timer, just use the text editor to style the DayCountdown tag. Here we've set it to a h3 style and coloured the text red: It's only 1418 days to christmas 2015!Embedded Date Countdown A countdown to a given date can be embedded into an article using a simple tag. |