exit popup issue...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • qwe
    Confirmed User
    • Jul 2003
    • 2109

    #1

    exit popup issue...

    how come it works when I try it on my computer, but when I upload it on the server and close a window nothing happens? but when I refresh the page that popup appears ? here's the code I use

    <SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
    <!--
    var popupWindow=null;
    function popup(mypage,myname,w,h,pos,infocus){

    if (pos == 'random')
    {LeftPosition=(screen.width)?Math.floor(Math.rando m()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Mat h.random()*((screen.height-h)-75)):100;}
    else
    {LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
    settings='width='+ w + ',height='+ h + ',top=' + TopPosition + ',left=' + LeftPosition + ',scrollbars=yes,location=no,directories=no,status =no,menubar=no,toolbar=no,resizable=yes';popupWind ow=window.open('',myname,settings);
    if(infocus=='front'){popupWindow.focus();popupWind ow.location=mypage;}
    if(infocus=='back'){popupWindow.blur();popupWindow .location=mypage;popupWindow.blur();}

    }
    // -->
    </script>

    <body onUnload="popup('http://pageiuse.com','pagename','900','900','center','fro nt');">
  • SmokeyTheBear
    ►SouthOfHeaven
    • Jun 2004
    • 28609

    #2
    i dont think exit popups have worked in ages
    hatisblack at yahoo.com

    Comment

    • plsureking
      bored
      • Aug 2003
      • 4904

      #3
      if your page is big or slow then you might just not be getting to the unload. i think the better route if u are into this sort of stuff is to do a popunder with onload instead. then your popup is guaranteed to load.

      of course everyone has popup blockers running now so this project of yours is probably a huge waste of time.
      PornCMS / low cost paysite management with hosting

      Comment

      • intellichat
        Confirmed User
        • Oct 2008
        • 961

        #4
        Originally posted by plsureking
        if your page is big or slow then you might just not be getting to the unload. i think the better route if u are into this sort of stuff is to do a popunder with onload instead. then your popup is guaranteed to load.

        of course everyone has popup blockers running now so this project of yours is probably a huge waste of time.
        Depends what exit console you are using.. Our system beats pop up blockers



        Fully compatible with NATS & MPA3

        Comment

        • Exit-chat
          Confirmed User
          • Oct 2008
          • 444

          #5
          If you would like assistance with your exit strategy to make more money let hit me up and we can discuss. Our exit-chat not only brings back customers but we also can assist in your exit-chain as well.
          Rick Bennink
          CEO
          www.Exit-Chat.com
          icq 278635939
          [email protected]

          The market creator and leader in AI chat customer recovery since 2005!

          Comment

          • SmokeyTheBear
            ►SouthOfHeaven
            • Jun 2004
            • 28609

            #6
            Originally posted by Exit-chat
            If you would like assistance with your exit strategy to make more money let hit me up and we can discuss. Our exit-chat not only brings back customers but we also can assist in your exit-chain as well.
            Originally posted by intellichat
            Depends what exit console you are using.. Our system beats pop up blockers
            how bout you guys both fight to the death and he uses the winner on his site.
            hatisblack at yahoo.com

            Comment

            Working...