Roof Calculator Help Guide:
Variables:
p = pitches, comma separated list. Eg: 2/12,4/12,6/12
b = base costs per pitch, comma separated list. Eg: 1.49,1.79,2.09
r = removal costs per pitch, comma separated list. Eg: 2.49,2.99,3.49
l = default legnth
w = default width
Notes: p, b, and r must contain the same number of elements
Special Var: api = base64 encoded string of previous variables to keep the URL clean
Example Drop In Code:
<div style="padding:1%;">
<iframe frameborder="0" style="width: 100%; height: 450px; border: 0;"
src="http://bartonroof.com/roof-calc.php?p=2/12,4/12,6/12,8/12,10/12&l=45&w=75&b=1.05,1.25,1.45,1.65,1.85&r=3.50,3.90,4.40,4.80,5.30"></iframe>
</div>
Alternatively using the special variable 'api':
<div style="padding:1%;">
<iframe frameborder="0" style="width: 100%; height: 450px; border: 0;"
src="http://bartonroof.com/roof-calc.php?api=cD0yLzEyLDQvMTIsNi8xMiw4LzEyLDEwLzEyJmw9NDUmdz03NSZiPTEuMDUsMS4yNSwxLjQ1LDEuNjUsMS44NSZyPTMuNTAsMy45MCw0LjQwLDQuODAsNS4zMA=="></iframe>
</div>