SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Aug 2002
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How To Create Exit Pop ups?

    Hi,
    I want two exit popups. Specifically I want exit pop up "A" to come up if the user clicks on a link and if he does not click on THAT link exit pop up "B" should pop up.

    Is there a way to do that? I would appreciate if anyone can show me how to do it? (preferably with an example) I already have code for pop up but can't figure out how to do this specific activity.

    Thanks in advance,
    Bob

  2. #2
    American't awestmoreland's Avatar
    Join Date
    Sep 2002
    Location
    Grand Rapids, MI
    Posts
    1,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    With the link, set the onMouseClick property to call function Pop_Up_A(). Pop_Up_A() should also set a variable CheckPop to say "nopop" or something like that.

    Then set the OnExit property of the page to call function Pop_Up_B(), but only if CheckPop != "nopop".

    Sound simple, doesn't it?
    Don't ask me how to do it though


    Andy


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
  •