A little popup help please!

Ok,
I'm trying to tweak some JS code that will open a popup when the visitor tries to exit the page.
When the user tries to exit the page they get a popup however at the same time I'd like the page behind the popup to automatically redirect to a specified URL.
Any suggestions please?

Code (text):

<script type="text/javascript" src="jquery.js"></script>

<script type="text/javascript">

    function PopIt() { return "Are you sure you want to leave?"; }

    function UnPopIt()  { /* nothing to return…

A little popup help please!

See original post by sabian1982

Leave a Reply