Stupid J.avasci.pt question - on an onexit popunder, how do you prevent the window...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CyberTraffic
    Confirmed User
    • Feb 2004
    • 2187

    #1

    Stupid J.avasci.pt question - on an onexit popunder, how do you prevent the window...

    from popping when a link is clicked ?

    Is'nt it onexit="false" ?
  • Phoenix66
    Confirmed User
    • Oct 2002
    • 823

    #2
    Use some variable, set it to false in onclick and check it before you throw the popup. Like this:

    exit=true;
    function closeIt()
    {
    if(exit)
    {
    throw your popup here or whatever...
    }
    }

    <body onclose="closeIt()"...

    <a onClick="exit=false" ...
    Adult Niche Traffic Exchange

    Comment

    • CyberTraffic
      Confirmed User
      • Feb 2004
      • 2187

      #3
      Originally posted by Phoenix66
      Use some variable, set it to false in onclick and check it before you throw the popup. Like this:

      exit=true;
      function closeIt()
      {
      if(exit)
      {
      throw your popup here or whatever...
      }
      }

      <body onclose="closeIt()"...

      <a onClick="exit=false" ...
      Thanks!

      Comment

      Working...