AmaboCare allows web developers to embed our Subsidy Calculator and/or Penalty Calculator on any website, enabling web developers to enhance their content with features from AmaboCare.


To embed AmaboCare Subsidy and Penalty calculators on your website, use the following iframes:

Subsidy Calculator:
<iframe src="" width="100%" frameborder="0" height="1200"></iframe>
Penalty Calculator:
<iframe src="" width="100%" frameborder="0" height="1200"></iframe>


For an example how the iframes should be embbeded on your website, view the demo.


Auto Adjusting the iframe height

The iframe height may change as a user fills out the form. In order for the iframe height to adjust automatically, you can add the following javascript code to your site:

<script src="iframeResizer.min.js" type="text/javascript"></script>

You can find the iframe Resizer plugin here:

jQuery Version:
<script type="text/javascript">$('iframe').iFrameResize();</script>
Or use the Native Version:
<script type="text/javascript">iFrameResize();</script>

NOTE: The above javascript file is a hosted version. You may also copy this script into your own code.

Add scrolling="no" to the <iframe> tag to prevent scrollbars from flashing during resizing.


Support for IE8

If you require the iframe to resize in IE8 and are not using the jQuery version, add the following code to your <head>:

<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script type="text/javascript">
//MDN PolyFil for IE8 (This is not needed if you use the jQuery version)
if (!Array.prototype.forEach){
  Array.prototype.forEach = function(fun /*, thisArg */){
    "use strict";
    if (this === void 0 || this === null || typeof fun !== "function") throw new TypeError();

      t = Object(this),
      len = t.length >>> 0,
      thisArg = arguments.length >= 2 ? arguments[1] : void 0;

    for (var i = 0; i < len; i++)
      if (i in t), t[i], i, t);