Forum Moderators: open

Message Too Old, No Replies

Looking for IE7 exit popup javascript code

         

webhoward

2:56 pm on Feb 21, 2007 (gmt 0)

10+ Year Member



Any recommendations? I could also use code that will work in Firefox too.

scriptmasterdel

6:38 pm on Feb 21, 2007 (gmt 0)

10+ Year Member



Does window.close() not work? I can't try it as i have not got IE7 installed!

If it does work you then need to decide what event you would like apply the function to.

E.g.

Onload, onclick, onblur etc.

I hope this helps.

Del

Quadrille

11:02 am on Feb 22, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Any recommendations?

Yes, Don't do it.

Two reasons;

1. Most intelligent visitors will vow never to return (no exaggeration).

2. Whatever method you choose is either already dealt with by anti-pop-up measures - or will be next time they update.

There is a place for 'functional' pop-ups (a small place!), but there is no place for pop-up on exit - it's no more acceptable to civilized people than cancer: nobody likes uncontrolled cell reproduction wherever it occurs; what you propose can NEVER be in your visitors' interest, and they know it.