Forum Moderators: open
...
<a href="newsletter.html" target="myPopup" onClick="javascript:MM_openBrWindow('newsletter.html','myPopup','status=yes');false;">Newsletter</a>
...
To see why MM_openBrWindow doesn't work you'd have to paste that code in, but I can tell you it would be easier to learn Javascript and write one yourself, MM's auto functions are usually very heavy.
Couple other things:
<a href="javascript:;" onClick="MM_openBrWindow('newsletter.html','','status=yes')">Newsletter</a>
I use href="javascript:" all the time but it's not the Thing to Do, because if Javascript is disabled, then you get weird errors and no links. If you DO want to do this is should be
<a href="javascript:MM_openBrWindow('newsletter.html','','status=yes');">Newsletter</a>
If not, make the href a link to an anchor on the page or simply # which will link to the current page:
<a href="#theTop" onClick="MM_openBrWindow('newsletter.html','','status=yes'); return false;">Newsletter</a>
<a href="#" onClick="MM_openBrWindow('newsletter.html','','status=yes'); return false;">Newsletter</a>
Paste the MM_openBrWindow code in here and someone will be able to tell why it's not working.
onclick="javascript:MM_openBrWindow('newsletter.html','myPopup','status=yes');false;" 1. The
javascript: protocol is redundant in an event handler. [b]return[/b] false 3. All implementations of Macromedia's
MM_openBrWindow, that I have seen, do nothing, essentially. open. So the whole thing:
[pre]<a onclick="window.open('newsletter.html','mypopup','width=200,height=200,status=1'); return false;"
href="newsletter.html"
target="mypopup">newsletter</a>[/pre] Alter
width & height according to taste.