The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Closing a window and displaying a pop up
tudsy
post Jul 4 2019, 06:39 AM
Post #1


Advanced Member
****

Group: Members
Posts: 246
Joined: 30-September 14
Member No.: 21,611



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.Attached File  index.txt ( 12.02k ) Number of downloads: 617
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jul 4 2019, 11:32 AM
Post #2


.
********

Group: WDG Moderators
Posts: 9,628
Joined: 10-August 06
Member No.: 7



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
tudsy
post Jul 18 2019, 11:10 AM
Post #3


Advanced Member
****

Group: Members
Posts: 246
Joined: 30-September 14
Member No.: 21,611



Hi

Problem solved.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th March 2024 - 01:59 AM