Include the currency converter on your site |
|
Do your visitors need to convert from one currency to another? For example if you are quoting prices in US dollars, you might want to give visitors a handy utility to conversion to their own currency. You could link to a currency converter on someone else's site, but once they leave, will they return? You want to provide them with a calculator right there on your page as part of your site. To incorporate our compact javascript calculator. You simply include some html in your page, and any client with netscape 3, IE4 or better will have a fast effective calculator. You can even initialise the calculator with the currency and amount of your product, so that all they have to do is dial up the currency of their choice and get an instant conversion. Add the converter to your site nowThe converter can be placed anywhere on your site. Put it on every page if you want, it is small enough to fit into your heading or footer sections. However for technical reasons you can only have a maximum of one converter per page. Standard converterTo include the standard converter on your site use the following:
You must include everything exactly as shown. The converter will default to US Dollars as the base currency. To change to another currency you can add the following code
after the above: Unless you include the hidden variable accepting the conditions on this site the program will not work. However these conditions are not onerous. Special converterTo include the converter with pre-set values: <FORM NAME="textor1"> Again, please include everything as shown, except that the hidden variables should be set to the values you require.In this example the price of the product is £ 45.67 (British Pounds) and the web page will initially show the price in US dollars. The following hidden variables must be set:
If you want to see what is under the hood, a sample of the Javascript is here. But don't use this script live. The exchange rates built into it needs regular updating, which is why the scripts are loaded in live use from our site. |
