473,396 Members | 1,853 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Javascript:LaunchCenter

KJ
Now I'm not into annoying people with popup ads, I'm a webmaster of a
church website and I wanted to know if there was a way to get around
these popup stoppers and use a function like launchCenter:

Code Below:

function launchCenter(url, name, height, width) {
var str = "height=" + height + ",innerHeight=" + height;
str += ",width=" + width + ",innerWidth=" + width;
if (window.screen) {
var ah = screen.availHeight - 30;
var aw = screen.availWidth - 10;

var xc = (aw - width) / 2;
var yc = (ah - height) / 2;

str += ",left=" + xc + ",screenX=" + xc;
str += ",top=" + yc + ",screenY=" + yc;
str += ",scrollbars,resizable,toolbar=no,menubar=no,locat ion=no";
}
ww = window.open(url, name, str);
}
People are complaining that when I use that function to display new
hyperlink pages that if they have a program called "Popup Stopper" my
hyperlink pages will not open up. But I'm using the Google toolbar
popup blocker and when I click on hyperlinks new windows open up fine.

Is there anyway in Javascript I can get new windows to show up the
same even with Popup Stopper?

Thanks for any suggestions. I hate to mess up my design because a few
people are using Popup stopper.
Jul 20 '05 #1
2 1768
In article <d8**************************@posting.google.com >,
kl******@hotmail.com (KJ) writes:
Is there anyway in Javascript I can get new windows to show up the
same even with Popup Stopper?
No.
Thanks for any suggestions.
Stop using popups.
I hate to mess up my design because a few
people are using Popup stopper.


Stop annoying them and they wont need a popup stopper.
--
Randy
Jul 20 '05 #2

"KJ" <kl******@hotmail.com> wrote in message
news:d8**************************@posting.google.c om...
Now I'm not into annoying people with popup ads, I'm a webmaster of a
church website and I wanted to know if there was a way to get around
these popup stoppers and use a function like launchCenter:


*** N O ! ! ! ***
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.