Javascript:LaunchCenter

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • KJ

    Javascript:LaunchCenter

    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(ur l, name, height, width) {
    var str = "height=" + height + ",innerHeig ht=" + height;
    str += ",width=" + width + ",innerWidt h=" + width;
    if (window.screen) {
    var ah = screen.availHei ght - 30;
    var aw = screen.availWid th - 10;

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

    str += ",left=" + xc + ",screenX=" + xc;
    str += ",top=" + yc + ",screenY=" + yc;
    str += ",scrollbars,re sizable,toolbar =no,menubar=no, location=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.
  • HikksNotAtHome

    #2
    Re: Javascript:Laun chCenter

    In article <d83a9214.03092 51651.7931997b@ posting.google. com>,
    klj_mcsd@hotmai l.com (KJ) writes:
    [color=blue]
    >Is there anyway in Javascript I can get new windows to show up the
    >same even with Popup Stopper?[/color]

    No.
    [color=blue]
    >Thanks for any suggestions.[/color]

    Stop using popups.
    [color=blue]
    >I hate to mess up my design because a few
    >people are using Popup stopper.[/color]

    Stop annoying them and they wont need a popup stopper.
    --
    Randy

    Comment

    • Phrederik

      #3
      Re: Javascript:Laun chCenter


      "KJ" <klj_mcsd@hotma il.com> wrote in message
      news:d83a9214.0 309251651.79319 97b@posting.goo gle.com...[color=blue]
      > 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:[/color]

      *** N O ! ! ! ***


      Comment

      Working...