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)
-   -   My fucking brain hurts.. (https://gfy.com/showthread.php?t=50269)

spacedog 02-07-2002 04:11 PM

My fucking brain hurts..
 
I tried searching, & I read a few things, but no matter what I try, I still can't get this to work....

I have a 468X60 pop up & when the surfer clicks the link, I'd like the link to open in a new window, (That part I got covered), but at the same time, with that same click on the same link, I'd like the pop-up to close itself???


I tried inserting this in the link, but that don't work...
javascript:lockU=0;self.close()"

IE: [ A Href="http://www.someplace.com" ; a href="javascript:lockU=0;self.close()"]Click Here[/a]


Any suggestions...

JackFoley 02-07-2002 04:20 PM

Where the fuck did you get that code? Try this...

[a href="http://www.whatever.com" onclick="window.close();"]Click here![/a]

spacedog 02-07-2002 04:24 PM

Quote:

Originally posted by JackFoley
Where the fuck did you get that code? Try this...

[a href="http://www.whatever.com" onclick="window.close();"]Click here![/a]


Much better, Thanks..
How can I add a second onclick event?


[a href="http://www.whatever.com" onclick="window.close();" onclick="exit=false();"]Click here![/a] [/B][/QUOTE]


All times are GMT -7. The time now is 08:29 AM.

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