Silmo Developer Documentation

Basic

Example

HTML Code

<button id="TryOnPopupEN" data-language="en">English version : Click here to launch the popup</button>
<button id="TryOnPopupFR" data-language="fr">Version fran├žaise : Cliquez ici pour ouvrir la popup</button>

Javascript Code

window.onload = function()
{
    // EN version
    new Fb.Popup(
        {
            container:'#TryOnPopupEN'
        }
    );
    
    // FR version
    new Fb.Popup(
        {
            container:'#TryOnPopupFR'
        }
    );
}