Closed Thread
Results 1 to 2 of 2

Thread: exit popup delay

  1. #1
    Pro Member hessan is an unknown quantity at this point
    Join Date
    Jun 2001
    Location
    San Diego
    Posts
    389

    exit popup delay

    first of all i have a question about the exit popup
    lets say exit is places on index.html
    there is a direct link to like page1.html
    would the exit be activaed if user goes to page1.html ?
    and im looking for an exit popup with a delay. (like 30sec)
    thanks

  2. #2
    Junior Member kevinmd88 is an unknown quantity at this point
    Join Date
    Jan 2003
    Location
    USA
    Posts
    9
    I'm not sure what you mean by the first part but I can give you the JavaScript code for the exit popup delay.

    Code:
    <script language='javascript'><!--
    function unloader() {
        // set this to the seconds to wait
        var sec = 30;
        setTimeout("unloader2()",sec);
    }
    
    function unloader2() {
        window.open('http://www.yourdomain.com/yourpage.html','_blank','menubar=no,toolbar=no,location=no,status=no,width=500,height=300');
    }
    --></script>
    
    <body onunload="unloader()">
    Last edited by kevinmd88; September 27th, 2003 at 12:43.

Closed Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts