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?
|