Message-ID: <2000698511.721.1711704239112.JavaMail.ELSIE-CT-VM$@elsie-ct-vm> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_720_760369809.1711704239112" ------=_Part_720_760369809.1711704239112 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Dynamic replacement of month name or number

Dynamic replacement of month name or number

Suppose you wanted an image in your calendar's title to change w= ith each month. How can you do this?

If you use either the special <MONTH/> or <MONTHNUM/> tag in your calendar's title or fo= oter, that tag will be automatically replaced with the text of the mon= th's name or number, respectively.

For example:

Let's say you store a series of images on your site, month_1.gif, month_= 2.gif, month_3.gif, etc. You could change your calendar's title to include = the following HTML:

=20
<img=
 src=3D"http://mysite.com/images/month_<MONTHNUM/>.gif">
=20

Let's say the current month is January. At display time, that bit of tex= t would become:

=20
<img=
 src=3D"http://mysite.com/images/month_1.gif">
=20

(or month_2.gif when the current month is Feb, month_3.gif for March, et= c). The particular picture for a given month will therefore be displayed.

<DAYNUM/> and <YEARNUM/> t= ags are also available!

This example assumes you have hosted these images on a separate site (my= site.com). If you are a premium subscriber, you can also use this syntax to= change between custom images you have uploaded directly to your localendar account.

------=_Part_720_760369809.1711704239112--