I know that technically this isn't a flash problem, but my entire site is built around flash so I thought it would be ok to ask in here.
When my main page opens I have some as to load a popup.
Below is the code I have in the head of my main page
Code:
<SCRIPT TYPE="text/javascript">
<!--
function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
href=mylink;
else
href=mylink.href;
window.open(href, windowname, 'width=400,height=250,scrollbars=no,status=no,toolbar=no,menubar=no');
return false;
}
//-->
</SCRIPT>
Then I've got this code in the body
Code:
<BODY onLoad="popup('http://www.delicious-promotions.com/EdenangelsV2/mailinglist.html', 'mailinglist')">
Everything runs fine except..... the popup returns a 404.
Can someone please help because I don't know what I've done wrong??