Close Modal when opening email app
-
I’ve set up modal to display a disclaimer statement when a user clicks an email icon. User then must click either an “Accept” button in the modal, which takes them to “mailto:[email protected],” opening thir email client, or they choose to just close the modal.
I would like only the modal window to close when the user clicks “Accept,” so if/when they return to the browser window, the modal is no longer visible (but browser window remains open).
Suggestions would be most welcomed! Thank you!
==========
Here is code I’m using for calling modal:<img class="eModal-6" title="Email Firstname Lastname" src="https://mysite.net/wp-content/uploads/glyphicons_010_envelope.png" alt="Email Firstname Lastname" />
Here is the “Accept” button code:
[flat_button text="Accept" title="Accept terms and continue" url="mailto:[email protected]" padding="10px 20px" bg_color="#73C700" border_color="#73C700" border_width="1px" text_color="#FFFFFF" text_size="14px" align="center" target="_self"]
- The topic ‘Close Modal when opening email app’ is closed to new replies.