SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member Jeffry's Avatar
    Join Date
    Jul 2003
    Location
    Antwerp
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need pop-under on exit script

    Hi,

    I'm looking for a script which pops-under a new window:

    if the browser window is closed,
    if the visitor goes to a totally different site,
    but NOT if the visitor moves to another page on my site.

    Is this possible?

    Jeffry

  2. #2
    SitePoint Addict
    Join Date
    May 2000
    Posts
    313
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here is a link to a couple of pop-under scripts that you should be able to modify to take place when someone leaves the page. They both use cookies so that they only popunder once per session. As far as when a browser window is closed or only if they go to a different site is probably not doable.
    http://www.javascriptkit.com/script/cutindex12.shtml


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
  •