saideepak
6 years agoContributor
Modal dialogue auto popup
How to do the auto pop up of modal dialogue in Lithium without click? Atleast by using Javascript to launch the modal dialogue, how to know the modal dialogue hypertext link?
saideepak - You can include a custom modal component as described by Parshant. Afterwards you can access your community and the page, where you included the component.
Use your browsers web development tools to inspect the source. There should be a HTML snippet for the modal, including a trigger button.
With this information (CSS Class/ID) you can add an additional Javascript snippet, which needs to trigger the buttons click event to show the modal without any user interaction.
Best regards
Christian