![]() |
![]() |
![]() |
||||
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 2005
Location: Vancouver, BC
Posts: 3,685
|
Javascript Exit Popup Code: Please
Hello GFY I am looking for a exit popup script that works. If it works in both IE and Firefox thats a plus.
Your help is greatly appreciated! Thanks ahead of time ![]()
__________________
Rod Macdonald Mainstream Ad Agency Owner ICQ: 607306 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Apr 2005
Location: Vancouver, BC
Posts: 3,685
|
Bump....
__________________
Rod Macdonald Mainstream Ad Agency Owner ICQ: 607306 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Sep 2005
Location: Your mom is my favorite pornstar!#%
Posts: 5,995
|
Code:
<SCRIPT LANGUAGE="JavaScript"> <!--begin function popup(filename){ window.open(filename, "","height=300,width=300,top=0,left=0,location=no,menubar=no, resizable=yes,scrollbars=no,status=no,titlebar=no,toolbar=no,directories=no"); } // end --> </SCRIPT> Code:
onUnload="popup('popup.html')" Code:
<body bgcolor="white" onUnload="popup('popup.html')"> To enable this, we need to then add code to all the links and buttons, where if the user clicks them we do *not* want the popup to appear. Other links and buttons we just leave well alone. This is the code we need: Code:
onclick="exit=false;" We add this code to the relevant tags for buttons and links as follows. Here's an example for a standard link: Code:
<a href="purchase.html" onclick="exit=false;">Buy now!</a> Code:
<input type="button" value="Buy now!" onclick="exit=false;">
__________________
Fling.com doesn't steal your traffic and sales unlike some other dating companies. I promote them, and so should you! ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Aug 2003
Posts: 343
|
Ive seen a few sites use a 1x1 pixel size flash .swf file that is able to popup a window without getting blocked by the popup blockers which work on javascript - anyone know where there is more info on something like that?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Industry Role:
Join Date: Aug 2002
Location: Qc
Posts: 3,006
|
Quote:
__________________
rssEVOLUTION : Produce a FULL website with ANY RSS feed(s) in seconds. contentSOLUTION : Allowing you to automatically grab articles from article directories, import as many text files as you want at once, grab ANY content from ANY RSS feed, and scrape search engines, instantly. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: May 2003
Location: Seattle
Posts: 2,176
|
Cant do exit pops in firefox from what I understand. Smokey has some good stuff for doing it in IE though. Search by his name
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
<&(©¿©)&>
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
|
Quote:
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager ![]() Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Apr 2005
Location: Vancouver, BC
Posts: 3,685
|
Thanks for the info people very much appreciated....
__________________
Rod Macdonald Mainstream Ad Agency Owner ICQ: 607306 |
![]() |
![]() ![]() ![]() ![]() ![]() |