Posted by: tudsy Jul 4 2019, 06:39 AM
Hi guys!
I have written some css code to create a pop up after the user closes a window in the browser. I don't know what I am doing wrong?
Any help will be greatly be appreciated.
index.txt ( 12.02k )
Number of downloads: 623
Posted by: Christian J Jul 4 2019, 11:32 AM
CODE
<div class='popupCloseButton'>Close</div>
<p> Wait! <br/> Dont go away-Buy some art for yourself and friends/family!
<a href='https://wwww.ecovib2d.com.au/WORKFROMHOME/YOURART/yourart.php'>Buy Art!</a></p>
</div>
Is this the popup? I generally recommend against opening popups, in particular when the user tries to leave the page.
If you still want to make one, please create a minimal sample page showing the problem --the current page contains lots of other possibly irrelevant content, like ten javascripts and and unparsed PHP include.
You should also try to fix the HTML syntax errors, such as the SCRIPT and META elements before the HEAD section.