Include the following Javascript SDK library. Make sure you reference the js file from the DËBRAIN servers. Do not include a local copy of the js as the code might get updated.
Add the following HTML in the containing page wherever you want the eCard functionality to be populated:
When implementing this markup, please make sure that the element that contains the e-card container follows these rules:
display: grid;. This is known to brake the slider Implementation for mobile devices.
position: absolute; or position: relative;. This is known to break the ligthbox implementation.
Include the following JS script to populate the eCard functionality:
For any support inquiries, please contact us at seth@hellodebrain.com.