Using the calculator on your own site

Members
Join (Free)

Home
Care
Problems
Species
FAQ
Gallery
Library
Utilities
Classifieds
Competitions
Directory
Links
Forum

Contact
Credits
Books


powered by FreeFind


Translate this page
using AltaVista

if you would like to integrate the snail calculator as part of your own site it couldn't be simpler. Just read through the instructions below.


You need to use a frameset and load the following URL into whichever frame you desire:


http://www.petsnails.co.uk/snail_calc.php?guest=true

For example:

<frameset rows="125,*" border="0">
	<frame src="/header.html" name="header">
	<frame src="http://www.petsnails.co.uk/snail_calc.php?guest=true" name="snailcalc">
</frameset>



Attributes/Style


To fit the calculator in with your own website design there are a number of things you can change, these are:


bgcolor Page Background Colour - (Any 6 digit hexadecimal value such as FFAA77. Do not include a #).
title Main Title Colour - (Any 6 digit hexadecimal value such as FFAA77. Do not include a #).
maintext Main Text Colour - (Any 6 digit hexadecimal value such as FFAA77. Do not include a #).
errortext Error Text Colour - (Any 6 digit hexadecimal value such as FFAA77. Do not include a #).
qbg Question Box Background Colour - (Any 6 digit hexadecimal value such as FFAA77. Do not include a #).
qtitle Question Box Title Colour - (Any 6 digit hexadecimal value such as FFAA77. Do not include a #).
qtext Question Box Title Colour - (Any 6 digit hexadecimal value such as FFAA77. Do not include a #).
fontface Specify the font you are using.
linkclass If you use a stylesheet, enter the class name for the link to inherit the class attributes.


You may specify as many or as few of these attributes as you wish. Any not specified will default to the values used for petsnails.co.uk.

So with all of them specified you're link may look like this:

http://www.petsnails.co.uk/snail_calc.php?guest=true&bgcolor=000000&title=ffffff&maintext=dedede &errortext=66ff66&qbg=555555&qtitle=ffffff&qtext=aaaaaa&fontface=tahoma&linkclass=lightlink

Note: the link above should all be on one line with no spaces.


So your final code may look like this:

<frameset rows="125,*" border="0">
	<frame src="/header.html" name="header">
	<frame src="http://www.petsnails.co.uk/snail_calc.php?guest=true&bgcolor=000000&title=ffffff&maintext=dedede
&errortext=66ff66&qbg=555555&qtitle=ffffff&qtext=aaaaaa&fontface=tahoma&linkclass=lightlink" name="snailcalc">
</frameset>

Et Voila, Enjoy!



CopyLeft 2005 petsnails.co.uk          Page Impressions: 1218418 Buy Gold & Silver   Finance Tools   Hosted by