Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View gist:a67ed9a44455faaad7a8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
<html>
 
<style>
.widget {
overflow: auto;
margin: 0;
padding: 0;
border: 0;
height: 100%;
width: 100%;
background: #E8E8E8;
font-family: "Arial", Arial, sans-serif;
}
#widget_title {
text-align: center;
font-weight: bold;
font-style: normal;
font-size: 14;
}
#widget_example {
text-align: center;
font-style: italic;
font-size: 11;
}
form {
text-align: center;
width: 90%;
margin: 5px auto;
padding: 5px;
}
form label {
text-align: left;
display: block;
margin: 10px 0 10px 40px;
}
form label input {
float: right;
}
#widget_result {
text-align: center;
}
</style>
 
<script type="text/javascript">
function calculate() {
var result = document.getElementsByName('widget_acf')[0].value;
document.getElementById("widget_result").innerHTML = result;
return false;
}
</script>
 
<div class="widget">
 
<p id="widget_title">What is your annual operating budget?</p>
<p id="widget_example">(See for example, Line 12 on your last IRS Form 990)</p>
 
 
<form id="widget_form" onsubmit="return calculate.call(this)">
 
<label>Annual Consulting Fee: <input type="text" name="widget_acf"></label>
<label>Monthly Retainer: <input type="text" name="widget_mr"></label>
<input type="submit" value="Calculate">
 
</form>
 
 
<p id="widget_result">
<b>Output here</b>
</p>
 
</div>
 
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.