Submit Your Article Forum Rules

Results 1 to 2 of 2

Thread: javascript that closes window when you exit

  1. #1
    Senior Member Bohak's Avatar
    Join Date
    May 2004
    Posts
    116

    javascript that closes window when you exit

    I just need a script that closes this window when you click on any of its links:
    http://www.euromeds.co.uk/reductilspecialoffer.htm


    So when you leave the "discount" popup (the page that the link above will take you to) it disappears. That way when you finish the order, the "discount" popup is no longer there.

    Thanks.

    -Bohak
    BohakGraphics.com

  2. #2
    Hi,
    you could try 'a href="..." onclick="window.close(this)"'
    replace the ''s with an appropriate ><
    M0rtyM0use

    Simply Rugby

Similar Threads

  1. Javascript Post to New Window
    By kruser in forum IT Discussion Forum
    Replies: 4
    Last Post: 04-29-2009, 01:37 PM
  2. Firefox Closes On 10 Percent
    By WPW_Feedbot in forum Search Engine Optimization Forum
    Replies: 0
    Last Post: 07-22-2005, 08:30 PM
  3. javascript post variables in new window..
    By Amitkrathi in forum Web Programming Discussion Forum
    Replies: 2
    Last Post: 12-15-2004, 02:16 AM
  4. WANTED: javascript recommendation for an exit page
    By Bohak in forum Web Programming Discussion Forum
    Replies: 12
    Last Post: 05-19-2004, 09:18 PM
  5. JavaScript menu - opening links in a full window
    By tOKmaZ in forum Web Programming Discussion Forum
    Replies: 0
    Last Post: 02-06-2004, 06:40 PM

Posting Permissions

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