Adding the Rebates & Incentives API to your webpage using iframe.

  1. Copy the following code and place it within the content of your webpage. Place the code where you would like the iframe to appear on your page.
    <iframe src="http://coolhomes.gaf.com" name="ifrm" id="ifrm" width="100%" height="XXXXX" marginheight="0" marginwidth="0" frameborder="0" scrolling="auto"><p>Your browser does not support iframes.</p></iframe>
  2. Replace the "XXXXX" text with the iframe height you would like to use. (e.g. - 400px)
  3. Test your code to see if the iframe displays and fits properly within your webpage. The iframe width is set to fit across 100% of your page. This can be changed by setting the width to a smaller value or by placing the iframe within a padded table cell or div to give spacing around the iframe.

Adding the Rebates & Incentives API to your webpage as a popup window.

  1. The popup is accessed via a web link set up on your webpage. Copy the following code and place it within the content of your page.
    Using a text link
    <a href="javascript:;" onClick="window.open('http://coolhomes.gaf.com','','height=400, width=700, toolbar=0, directories=0, status=0, menubar=0, scrollbars=1, resizable=1');"> Add this calculator to your webpage.</a>
    Using 100px x 95px Icon
    <a href="javascript:;" onClick="window.open('http://coolhomes.gaf.com','','height=400, width=700, toolbar=0, directories=0, status=0, menubar=0, scrollbars=1, resizable=1');"> <img src="http://ic.certainteed.com/Resources/images/Icons/RebatesButtonRound_100x95.jpg" border="0" /> </a>
    Using 75px x 71px Icon
    <a href="javascript:;" onClick="window.open('http://coolhomes.gaf.com','','height=400, width=700, toolbar=0, directories=0, status=0, menubar=0, scrollbars=1, resizable=1');"><img src="http://ic.certainteed.com/Resources/images/Icons/RebatesButtonRound_75x71.jpg" border="0" /> </a>
    Using 50px x 47px Icon
    <a href="javascript:;" onClick="window.open('http://coolhomes.gaf.com','','height=400, width=700, toolbar=0, directories=0, status=0, menubar=0, scrollbars=1, resizable=1');"><img src="http://ic.certainteed.com/Resources/images/Icons/RebatesButtonRound_50x47.jpg" border="0" /></a>
  2. If using a the text link code replace the "Add this calculator..." text with your own text.
  3. Test the link to see if the popup works properly from your webpage. The popup is set to fit within the width/height parameters specified in the code. These parameters can be changed to your liking.
Text Link Sample Using 100px x 95px Icon Using 75px x 71px Icon Using 50px x 47px Icon
Sample via text Link Crest for Homes Crest for Homes Crest for Homes
*Note - If you do not know how to insert the code into the pages of your site, please contact your webmaster and ask him or her to follow the steps above.
© COPYRIGHT 2017 GAF