Welcome to WebmasterWorld Guest from 54.145.209.34

Forum Moderators: open

alternative link if javascript off or popup killer active

   
2:38 am on Jan 30, 2003 (gmt 0)

10+ Year Member



I use a JavaScript to launch a frameless popup window to display a flash movie, however with Earthlink's popup killer and other anti-popup software becoming increasingly common, I'm concerned I might lose traffic if a new window doesn't open.

Is there away of linking that offers the popup first but in the event that java is switched off or a popup killer is active, the link will open in the current frame?

3:35 am on Jan 30, 2003 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



here's what I use --

<a href="link.html" onclick=popup();return false;">link text</a>

The "return false;" section of the javascript keeps the link from loading in the original window as well as in the pop-up when javascript is available.

Unfortunately there are a few heavy handed pop-up killers out there where the whole link gets killed, even the "straight" HTML part. There's no hope for those. However, this script gets the results you want with most pop-up killer utilties.

12:49 pm on Jan 30, 2003 (gmt 0)

10+ Year Member



Thanks Tedster, I'll give that a try
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month