Essilor Developer Documentation

Quick start

Integration

First, install between <head> the Popup Javascript library :
<script src="http://essilor.youarethemodel.com/js/Essilor.js"></script>

Place a tag identified the attribute data-fittingbox-tryonarea into the <body> :
<div id="tryOnArea" data-fittingbox-tryonarea></div>
Then, call VTO4Essilor class to set the VTO :
<script type="text/javascript">
    window.onload = function()
    {
        new VTO4Essilor(
            {
                language: 'fr'
            }
        );
    }
</script>

Examples