Forum Moderators: open

Message Too Old, No Replies

PopUps and blockers

         

gulliver

3:40 pm on Nov 30, 2003 (gmt 0)

10+ Year Member



I use (non auto-opening, triggered by onclick) popup miniwindows throughout my site to display supplementary info without taking the user from the main page.

They're very simple... javascript with redundant href to cover if javascript disabled.

The page contains this code...

---------
<a href="URL/" onClick="OpenMiniWindow(this.href); return false" target="newWin">link</a>
---------

And is linked to a master.js file containing...

-----------
// Open MiniWindow

function OpenMiniWindow (c) {
window.open(c,
'miniwindow',
'toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=450,height=400,left=0,top=0');
}
-----------

My question is simply... how are they affected by the various popup blockers? As a Mac user, I can't simply download and try what's mainly a PC thing.

asquithea

3:45 pm on Nov 30, 2003 (gmt 0)

10+ Year Member



Any pop-up blocker worth its salt will not block requested pop-up windows. In Mozilla Firebird [mozilla.org], for example, pop-ups are allowed only once the page has loaded, so pop-ups are permitted when they are triggered by a user's mouse-click. Note that it doesn't work so well if your page takes a long time to load, which is another reason to keep pages lean.

gulliver

6:24 pm on Nov 30, 2003 (gmt 0)

10+ Year Member



>Any pop-up blocker worth its salt will not block requested pop-up windows.

That's what I'd figured - and hoped. Any info to the contrary will be appreciated. Plus, with the redundant href links I'm guessing they should at least degrade to open in new windows if the script is blocked.

>Note that it doesn't work so well if your page takes a long time to load, which is another reason to keep pages lean

My largest is 10k plus graphics - most of which are small and should be cached for reuse on repeat pages.