PDA

View Full Version : conflict with pop-up window script


deputyDawg
08-23-2007, 12:59 PM
Hi,

Since I added statcounter to my pages, my pop up winow script has ceased to function. When I take the code out, it works again.

The popUp code is

// for opening the pop-up window
var newwindow;
function poptastic(url)
{
newwindow=window.open(url,'name','height=312,width =450,resizable=no,scrollbars=no,toolbar=no,status= no');
if (window.focus) {newwindow.focus()}
}

and the site is paulhourican.net.

Any ideas?

deputyDawg
08-23-2007, 02:34 PM
grand so, I'll just use google analytics.:???:

webado
08-23-2007, 03:33 PM
There is no reason why that should stop working unless you got the code mangled.

*snip You'll have to give a url to your page so we can see where and how it's not working.*snip

Car Guy
08-23-2007, 03:39 PM
Christina, the URL is paulhourican.net

Currently there is no Statcounter code on the site, but I don't see the pop-up that he is referring to either.

Maybe he took that bit of code out as well.

Richard

webado
08-23-2007, 03:40 PM
Oops! Read, Christina, read! :lol:

If there's no popup to either work or not work then there's nothing to complain about.

In any case pop-ups are evil ;)