graph_box

Contents: Please email tstock@x-rates.com about any issue related to this document or feature.


Description

graph_box is a simple HTML block with a form that can link to any graph page on the x-rates site. It is meant to be used by a webmaster that wishes to provide direct access to these charts from his site.


Instructions

There are two ways to include this HTML block. each one has its benefits and shortcomings:
  1. You can include a javascript tag on your page to pull the html

    properties:
    • easy to insert
    • automatically updated if a currency is added or deleted;
    • bugs are fixed by us;
    • bugs are introduced by us;
    • slower download for your site visitor;
    • if our site goes offline, your box will not appear (feature?).


  2. You can look at the source (here) and copy it over to your page.

    properties:
    • not updated on-the-fly by x-rates;
    • fully customizable by reverse engineering the HTML (layout, colors, base currency, target window or frame);
    • faster download;
    • always on, even if x-rates is down.



Example

simple Javascript include:



code:

<script language="Javascript" src="http://www.x-rates.com/s/graph_box.js"></script>


Prologue

Some issues about this feature: