Javascript - close button/pop under

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
Monotoko
Forum Commoner
Posts: 64
Joined: Fri Oct 26, 2007 4:24 pm

Javascript - close button/pop under

Post by Monotoko »

Hi guys,

A client of mine is interested in those marketing sites which come up with a dialog once you press the close button, it will come up with a dialog which has ok or cancel. I told him this isn't a good idea and would probably just frustrate his users.

What I am trying to do is just make it go straight to another page when you press the close button, just saying "hang on a moment, before you go we will offer you this..." which I think would be less intrusive, or maybe a pop-under saying the same thing if you close the page, is this possible instead? or does it have to be an annoying dialog box?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Javascript - close button/pop under

Post by Christopher »

They are all annoying. I think the reason they use alert() style messages is that it gets around pop-up blockers.
(#10850)
Post Reply