Fridge Mountain Affiliation Scheme

The Fridge Mountain affiliation scheme allows website owners to place a panel on their web site or blog containing our latest items.

How does it work?

All you need to do is copy some code from this page and paste it into your web site or blog template. To start with, just try using one of the examples given below, then change the options to give your site the listings you want.

The examples show listings around the postcode CB1 -- the centre of Cambridge, where Fridge Mountain is based. You can easily change this to a postcode near you.

Example HTML

A minimal example is shown below. This will show up to 4 recently listed items near CB1.

Add this HTML to your webpage or blog entry at the point you would like it to appear.

    <script type="text/javascript"><!--
      fm_postcode="cb4";
      //-->
    </script>
    <script type="text/javascript"
            src="http://www.fridgemountain.com/js/show_items.js">
    </script>
        

You may change the postcode to be an appropriate postcode for your site. You may dynamically generate the postcode e.g. from a form submission or user account data (providing you have permission to use their postcode in this manner, naturally!).

The full set of configuration variables are:

NameRequired?PurposeExample ValuesDefault
fm_postcodeRequiredPostcode to use for selecting items to display."W1", "CB1 8NS", ...
fm_range_milesOptionalRange (radius) from specified postcode for selecting items."6", "50", ...30
fm_daysOptionalNumber of previous days to check for new items."30", "365", ...90
fm_backgroundOptionalBackground colour of panel."white", "#89bacc", "#eab", ...#F1EFDA
fm_link_colourOptionalHyperlink colour."blue", "#aabbcc", "#abc", ...#CC7C4B
fm_formatOptionalChoose the overall layout of the panel."table4x1", "small", "css"table4x1
fm_panel_heightOptionalHeight of the panel."100px", "200px", ...Format dependent

Further examples are shown below.

Example 1 : Table based widget showing up to 4 items

This example shows items within 30 miles of postcode CB4.

    <script type="text/javascript"><!--
      fm_postcode="cb4";
      fm_range_miles="30";
      //-->
    </script>
    <script type="text/javascript"
            src="http://www.fridgemountain.com/js/show_items.js">
    </script>
        

Example 2 : Small widget showing up to 4 items

This example shows items near to postcode W1 with a different background colour on a small widget.

    <script type="text/javascript"><!--
      fm_format="small";
      fm_postcode="w1";
      fm_background="#dde4e4";
      //-->
    </script>
    <script type="text/javascript"
            src="http://www.fridgemountain.com/js/show_items.js">
    </script>
        

Example 3 : CSS based widget showing up to 4 items

The CSS option is for advanced users only.

Please contact us for further information about using this format.

    <script type="text/javascript">
        <!--
        fm_format="css";
        fm_postcode="cb1";
        fm_background="#dde4e4";
        fm_range_miles="50";
        //-->
    </script>
    <script type="text/javascript"
            src="http://www.fridgemountain.com/js/show_items.js">
    </script>
        

Terms of use

The affiliate scheme is free and available for anyone to use. However, we reserve the right to cancel the scheme at any time and for any reason for all or specific users. Most likely we'd do this because you've been messing about with the scripts/html above in a dubious way or linked to us from an inappropriate site.

For more information, please see our terms and conditions.