Â
Hello! I have set lightbox popup window on page load and I am having problems with it at the moment. Whenever I leave the popup window from a certain website or whenever I exit from it, the page redirects to another website. Is there any way I could fix this? The lightbox pop up window shows upon the page load and it pop ups on the right site but it redirects to another site after exiting from it.Â
Lightbox popup window on page load fix
For this if you can provide the code function you have used for popups will be helpful for finding solution. But I will try to give solution without this too. I think there must be some function like ExitNotice() { <some code here> } used in your popup coding. Please check for the onclick event of this like onclick="ExitNotice('some url', null)". The problem is with the url provided in this, or there can be some url provided in function definition of popup exit. You have to check and remove the url to which it redirects there may be some other site link here as I am thinking about. You can give your own url in place where you want to redirect after exit of popup.
I hope this will help you a lot.