![]() |
![]() |
![]() |
||||
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: Apr 2002
Location: Houston
Posts: 5,651
|
javascript help
this was a post on webmaster q and fuckin a from me:
I'm trying to do a simple javascript... What it does: If a person views my page and exits without clicking any links, a popup window comes up. But if they click a link, no popup comes up when the page unloads. I know its something with onClick="set a variable' then a function that is called in onUnload that checks the var value, but since I do not know Javascript at all, and I am lost. Any help is appreciated, thanks. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Mar 2002
Location: Montreal
Posts: 773
|
is anything in java simple ???
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
So Fucking Banned
Join Date: Mar 2002
Location: Belgica
Posts: 224
|
check out http://javascriptkit.com
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
So Fucking Banned
Join Date: Mar 2002
Location: Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the Galaxy
Posts: 893
|
sent you a complete solution for that.
Better post 1 time only ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
So Fucking Banned
Join Date: Mar 2002
Location: Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the Galaxy
Posts: 893
|
Hey.
HTML code wont paste easy - so i changed all the "<" to "< " (added space so it wont fuckup the reply)... So here it is <HR> < HTML> < HEAD> < SCRIPT> var clicked = 0; function click_link (url){ clicked = 1; window.open(url); }; function closewin() { if (clicked==0) {window.open('http://www.xxxmanager.com');}; }; < /SCRIPT> < /HEAD> < BODY ONUNLOAD="closewin();"> < A HREF="Javascript:click_link('http://www.tgplay.com');">http://ww w.tgplay.com< /A> < BR> < A HREF="Javascript:click_link('http://www.gofuckyourself.com');">h ttp://www.gofuckyourself.com< /A> < BR> < BR> courtesy of XXXManager.com ;) < /BODY> < /HTML> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Apr 2002
Location: Houston
Posts: 5,651
|
thanks man
|
![]() |
![]() ![]() ![]() ![]() ![]() |