GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Javascript help please! (https://gfy.com/showthread.php?t=37452)

m0rph3us 08-23-2001 11:19 PM

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?

Amputate Your Head 08-23-2001 11:22 PM

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).]

m0rph3us 08-23-2001 11:32 PM

Thanks! That worked!

Amputate Your Head 08-23-2001 11:34 PM

No problem. http://bbs.gofuckyourself.com/board/wink.gif


All times are GMT -7. The time now is 02:15 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123