The Celtic Herbalist

 

Site Navigation

The Celtic Herbalist

 - Free content for you.

The herbal recipe of the week is available for you to use on your website to provide a weekly changing image and text. It is available as-is. It is customisable using parameters passed to the script. Parameters are all options (although missing the lang parameter is not recommended). They default to the values that produce the plaque shown on the home page. The parameters are as follows:

lang
The language that you want the script to produce. You can select either php, or javacript
bgCol
The colour of the background. This must be expressed in 6 hexadecimal digits
txtCol
The colour of the text (the sub-title, the recipe and the warning )
bordCol
The colour of the border around the outside of the plaque
titleCol
The colour of the title (i.e. The Herbal Remedy of the Week). This is can have one of two values: either white - in which case it is as you see it on the front page, of black - in which case it is in black without the glow.

In both the javascript and the php versions, the parameters are added after the ?lang=javascript part. for example ?lang=javascript&txtCol=ffffff

To include this on your page copy the following code and paste it into your page where you want to see it:

<script type="text/javascript" src="http://www.thecelticherbalist.com/cgi-bin/herbRemOfWeek.php?lang=javascript"></script><noscript> Your browser is not displaying javascript but you can see The Herbal Remedy of the Week at <a href="http://www.thecelticherbalist.com/index.html">The Celtic Herbalist</a>

If you would would prefer to avoid javascript and are using PHP, then simply include this in the page where you want it

<? require 'http://www.thecelticherbalist.com/cgi-bin/herbRemOfWeek.php?lang=php' ?>