Example

Script:

<div id="smava-calculator"></div> <script src="https://widgets.smava.de/calculator.js"></script> <script> new calculator({ target: document.getElementById('smava-calculator'), partnerLink: "https://kreditvergleich.smava.de/coop/antrag", refId: "INSERT_REF_ID_HERE" }); </script>

Configurations:

target, partnerLink & refId are mandatory fields.

Optional parameters:

Full example code with all configurations:

<div id="smava-calculator"></div> <script src="https://widgets.smava.de/calculator.js"></script> <script> new calculator({ target: document.getElementById('smava-calculator'), partnerLink: 'https://kreditvergleich.smava.de/coop/antrag', refId: 'INSERT_REF_ID_HERE', loanSum: 20000, duration: 84, category: 888, buttonText: 'Zum Kreditvergleich', hasShadow: true, showService: false, showAd: false, colors: { calculator: { background: '#ffffff', }, header: { text: '#444444' }, labels: { text: '#707070' }, formfields: { text: '#707070', border: '#979797' }, button: { background: '#28a745', hover: '#74c47f', text: '#ffffff' } } }) </script>