Getting started

Setting up you HTML

Create <div> tag on page where you want to display the calculator
<div class="econolease-calculator"><div> 
OR 
<div id="econolease_calculator"></div>

Installation

Include econolease calculator script before your closing <body> tag
<script src="https://www.econolease.com/js/jquery.efs-calculator.min.js" crossorigin="anonymous"><script>

Usage

$('#econolease_calculator').efs({
 lease: true,
 rental: true,
 loan:true,
 init: 'lease'
});

Settings

DefaultDescription
leasefalseSet to
true
to turn on lease calculator.
rentalfalseSet to
true
to turn on rental calculator.
loanfalseSet to
true
to turn on loan calculator.
initIf you have multiple calculators set to true, then set init to either
'lease'
or
'rental'
or
'loan'
to get that calculator to be displayed first.
langen-caSet language to
'en-ca'
for english and
'fr-ca'
for french version of calculator
colorblueUse hex color codes to set theme color of the calculator, e.g.,
'000000'
for black;
'FF0000'
for red;
'00FF00'
for green; etc.
logologo: {
 src: ''
}
Pass absolute URL path of your logo as a src to display your logo on the calculator.

Having trouble in setting up the calculator? Please contact us.