| Widget customization |
|
|
You can easily customize the widget by setting any or all of the following variables:
| Variable |
Description |
| mlcalc_default_calculator |
Active calculator tab (the default is "mortgage"). Example: mlcalc_default_calculator = 'loan'; |
| mlcalc_form_size |
Widget form size: small - 150px, or big - 300px (the default is "small"). Example: mlcalc_form_size = 'big'; |
| mlcalc_currency_code |
Change currency symbol by specifying FX currency code: USD, EUR, and GBP (the default is "usd"); or specify your own currency symbol. Example 1: mlcalc_currency_code = 'eur'; Example 2: mlcalc_currency_code = 'Rp'; |
| mlcalc_purchase_price |
Purchase price (the default is "250,000"). Example: mlcalc_purchase_price = '150,000'; |
| mlcalc_down_payment |
Down payment (the default is "10"). Example: mlcalc_down_payment = '20'; |
| mlcalc_mortgage_term |
Mortgage term (the default is "30"). Example: mlcalc_mortgage_term = '15'; |
| mlcalc_interest_rate |
Interest rate (the default is "6.5"). Example: mlcalc_interest_rate = '7.0'; |
| mlcalc_property_tax |
Property tax (the default is "3,000"). Example: mlcalc_property_tax = '4,500'; |
| mlcalc_property_insurance |
Property insurance (the default is "1,500"). Example: mlcalc_property_insurance = '1,000'; |
| mlcalc_pmi |
PMI (the default is "0.52"). Example: mlcalc_pmi = '0.5'; |
| mlcalc_loan_amount |
Loan amount (the default is "150,000"). Example: mlcalc_loan_amount = '200,000'; |
| mlcalc_loan_term |
Loan term (the default is "15"). Example: mlcalc_loan_term = '10'; |
All variables are optional. Below is a customization example that uses some of the variables:
With these settings, the widget will look like this (don't forget to click Calculate to see it in action):
Any questions or problems? Contact us
|
|