Javascript help please!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • m0rph3us
    Confirmed User
    • Mar 2001
    • 2033

    #1

    Javascript help please!

    I have a small dilema about a Javascript. I don't even know if this is possible so any Javascript gurus, please help me out.

    I need a JS script to do the following:

    I have a page, index.html, on there 1 have 1 link to page2.html. When a user click on the link to page2.html he gets taken to the page in the same window without any popups, but when the user closes the window OR goes to a bookmarked link or typed in link whatever outside my domain, it opens a popup window.

    Is this possible? If so how?
    <font size="2" face="Tahoma"><a href="http://www.18blowjobs.com/webmasters/?640" target="_blank">Get paid $25 per signup</a> listing over <a href="http://galleries.18blowjobs.com/hosted.html" target="_blank">100 free hosted video galleries</a> - <a href="http://www.18blowjobs.com/webmasters/?640" target="_blank">Check it</a> » </font>
  • Amputate Your Head
    There can be only one
    • Aug 2001
    • 39075

    #2
    Yes. Set it up like an exit console and put onClick="exit=false" behind the href.

    [This message has been edited by Amputate Your Head (edited 08-23-2001).]
    SIG TOO BIG

    Comment

    • m0rph3us
      Confirmed User
      • Mar 2001
      • 2033

      #3
      Thanks! That worked!
      <font size="2" face="Tahoma"><a href="http://www.18blowjobs.com/webmasters/?640" target="_blank">Get paid $25 per signup</a> listing over <a href="http://galleries.18blowjobs.com/hosted.html" target="_blank">100 free hosted video galleries</a> - <a href="http://www.18blowjobs.com/webmasters/?640" target="_blank">Check it</a> » </font>

      Comment

      • Amputate Your Head
        There can be only one
        • Aug 2001
        • 39075

        #4
        No problem.
        SIG TOO BIG

        Comment

        Working...