![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Mar 2001
Location: Principality of Sealand
Posts: 2,033
|
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? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
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).] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Mar 2001
Location: Principality of Sealand
Posts: 2,033
|
Thanks! That worked!
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
No problem.
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |