Forum Moderators: open
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.
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.