This is a discussion on "[SOLVED] Pop up pops up at the wrong time" within the JavaScript Forum section. This forum, and the thread "[SOLVED] Pop up pops up at the wrong time are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] Pop up pops up at the wrong time
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
[SOLVED] Pop up pops up at the wrong time
Good evening,
When i click to another page it pops up. I am just after it popping up when the window is closed or when the user goes to another website.
Cheers Daniel |
|
|
|
||||
|
Re: Pop up pops up at the wrong time
Hi Daniel,
How are you calling the function? Do you have the HTML that you are using.. I am thinking that instead of "trying to find" where the user is going, you might have to put a function to close the window when one your pages loads. Cheers
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
|
|||
|
Re: Pop up pops up at the wrong time
Be aware that this is a bad use of a pop-up.
When a user closes your webpage or navigates away, he has decided that he doesn't want to stay. Don't annoy him with goodbye messages or try to prevent him from leaving. You should not attempt to control the user's browser. It feels like assault. These so-called "pop-unders" are frequently used by seedy warez and porn sites to generate more windows than the user can close. Modern browsers often block such pop-unders. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] What have I done wrong in this code? | acrikey | JavaScript Forum | 6 | Mar 23rd, 2008 22:39 |
| Very wrong in IE7. Spot on in Mozilla & Opera. [SOLVED] | Itsumishi | Starting Out | 15 | Feb 17th, 2008 21:51 |
| The time is wrong on my forum :( | Stormraven | JavaScript Forum | 1 | Jan 28th, 2008 17:39 |
| Firework pops up | corazon | Web Page Design | 2 | May 27th, 2005 22:05 |
| Adjusting time from server time to local time | Tim356 | Classic ASP | 10 | Jun 21st, 2004 14:57 |