How to make exit pop up ?

  • Rully
  • Newbie
  • Newbie
  • Rully
  • Posts: 6

Post 3+ Months Ago

Hello all ...

Newbie here.Really need a help :D I just wondering how to make an exit pop up ? what i mean here, an exit pop up only will appear when the visitor close the web. I already made it,but if i click another button navigation like "Order here", an exit pop up also will appear.How to solve this problem...? :cry:
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • firefox2442
  • Novice
  • Novice
  • firefox2442
  • Posts: 17

Post 3+ Months Ago

GOogle it , its quite easy :)
Moderator Remark: Excessive punctuation/emoticons removed
  • Rully
  • Newbie
  • Newbie
  • Rully
  • Posts: 6

Post 3+ Months Ago

@firefox2442,:D that's rite bro and I already did that,but still can't find a best one :-(
  • northstjarna
  • Beginner
  • Beginner
  • northstjarna
  • Posts: 58
  • Loc: Chertsey, UK

Post 3+ Months Ago

Why you would want to do this I do not know, It's very annoying to users... but ok.... I think put this in your header....

Code: [ Select ]
<script type="text/javascript" language="javascript" >
 
window.onUnload = function() {
     if(confirm("Would you like to go away????"){
              window.close();
     } else {
              return false;
     } // End If
} // End Funciton
 
</script>
  1. <script type="text/javascript" language="javascript" >
  2.  
  3. window.onUnload = function() {
  4.      if(confirm("Would you like to go away????"){
  5.               window.close();
  6.      } else {
  7.               return false;
  8.      } // End If
  9. } // End Funciton
  10.  
  11. </script>


If that Doesn't work try googling it...


Cheers

Andi
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8399
  • Loc: USA

Post 3+ Months Ago

northstjarna wrote:
Why you would want to do this I do not know, It's very annoying to users...

Ditto that. I would hate to click 'OK' every time I hit the back button or try to close the window. For the sake of user's usability, don't do it.

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 61 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.