...
Code Block | ||
---|---|---|
| ||
<!DOCTYPE html> <html> <head> <title>Page Title</title> <script src="https://static.ambita.com/infoland-mflex/Ambita.umd.js"></script> </head> <body> <div id="infoland"></div> <button id="button" click>Open Infoland</button> <script type="text/javascript"> (() => { Ambita.Infoland.init({ ... }); const button = document.getElementById("button"); button.addEventListener('click', (e) => { Ambita.Infoland.load({ ... }); }); })(); </script> </body> </html> |
See Infoland Flex - Usage for more information about how to use the init
and load
functions.