: The cause of the problem is the ad. It has a link to close itself (Fermer). In the onclick event of the link there is a function call: fermeture(). The href is "#". But there is no return
the cause of the problem is the ad. It has a link to close itself (Fermer). In the onclick event of the link there is a function call: fermeture(). The href is "#". But there is no return false in the onclick event, which means, the page www.wanimo.com/fr/chiens/coussin-matelas-tapis-pour-chien-sc28/tapis-plat-urban-chic-sf7263/# is loaded.
To solve this problem, the ad window should look like this:
<a href="#" onclick="fermeture(); return false">Fermer</a>
In an onclick event of a link "return false" means that the page will not redirected to the url in the href attribute, but it will stay on the current page, as if nothing had happened.
More posts by @Correia994
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.