Now I thought I was hot sh*t when I posted an alternative PopUp Script I found but now it seems like my popup windows only work on my MAC but just loads in the same window on PCs? Can anyone explane why? Could it be something to do with popup blockers?
Site:
[url]http://home.earthlink.net/~funnykitty/SamplesMain.html
Page:
[url]http://home.earthlink.net/~funnykitty/Samples.html
Sample Code:
<SCRIPT TYPE=”text/javascript”>
<!–
function popup(url, name, height, width, scrollbars)
{
var popwin;
var opts =
“toolbar=no,status=no,location=no,menubar=no,resizable=no”;
opts += “,height=” + height + “,width=” + width +
“,scrollbars=” + scrollbars;
popwin = window.open(“”, name, opts);
popwin.focus();
popwin.location = url;
return false;
}
–>
</SCRIPT>
<A HREF=”Samples/Big/SOT.html” onclick=”return popup(this.href, ‘SOT’, 394, 300, ‘no’);”><IMG SRC=”Samples/SOTMini.gif” WIDTH=”125″ HEIGHT=”164″ ALT=”SonOfTobasco.com” BORDER=”1″></A>