At the end of the header <head> add the code (once only):
<script src="https://optimagas.com/plugins.js"></script>
1. In the place where you want THE PLUGIN to appear to add:
<script>new OptimaCalculator();</script><div id="optima"></div>
2. To include additional options, run the class OptimaCalculator arguments (given default), eg .:
new OptimaCalculator({id:'optima', lang:'en', width:'320px', height:'400px'});
1. In the place where you want the plugin to appear to add:
<script>new OptimaDistance();</script><div id="optima"></div>
2. To include additional options, run the class OptimaDistance arguments (given default), eg .:
new OptimaDistance({id:'optima', lang:'en', width:'320px', height:'400px'});
1. In the place where you want the plugin to appear to add:
<script>new OptimaSystem();</script><div id="optima"></div>
2. To include additional options, run the class OptimaSystem arguments (given default), eg .:
new OptimaSystem({id:'optima', lang:'en', width:'320px', height:'400px'});