I’m opening a Popup, it opens in internet explorer and mozilla firefox. But firefox ignores the given sizes, so a fullscreen popup is created.
Following code:
<a href="agb.html" target="_blank" onclick="return popup(this.href);">linkname</a>
Following function:
<script type="text/javascript">
function popup (url) {
fenster = window.open(url, "Popup", "width=640,height=700,resizable=yes,scrollbars=yes");
fenster.focus();
return false;
}
</script>
This is what I have on a dev site which I know at works in Firefox (actually it’s the only thing I have tested it on.
I don’t know too much about js, so I’m sure I got this from the web somewhere- so hopefully it follows correct practices and what not.