[ad_1]
Plugin Support
Rohit
(@mrrohitbhardwaj)
Hi @megank92,
Sure, I will be happy to guide you in setting redirection to a particular page or URL when the popup is closed.
You can simply add the following script via the Code Module into your Popup Divi Area, and replace the existing (google.com) URL with your desired page URL.
Note: This is a temporary workaround solution to help you in setting redirection when the popup is closed.
Script:
<script>
(function() {
DiviArea.addAction('show_area', function(area) {
DiviArea.addAction( 'close_area', function( area, closeType ) {
// Execute the redirection when the close button is clicked. Replace the URL with your desired page URL.
window.location.href="http://www.google.com";
});
});
})();
</script>See Here: https://share.zight.com/6quwBEjW
I have also demonstrated the same in the video below.
See here: https://share.zight.com/bLuymx24
I hope this information helps. Please do not hesitate to ask any further questions. Thank you.
- This reply was modified 3 minutes ago by Rohit.
