A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [F8] please help with popup problem

  1. #1
    Member
    Join Date
    Aug 2002
    Location
    Edinburgh, UK
    Posts
    46

    [F8] please help with popup problem

    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??
    Edenangels
    Sexy Funky Filthy House

  2. #2
    Member
    Join Date
    Jul 2003
    Posts
    68
    Maybe the page isn't there

  3. #3
    Member
    Join Date
    Aug 2002
    Location
    Edinburgh, UK
    Posts
    46
    Quote Originally Posted by salesa
    Maybe the page isn't there
    oh my god! I can't believe I was being so dumb!!
    I was asking it to look for mailinglist.html but I'd saved it as .htm

    Thanks for pointing out the obvious.
    Edenangels
    Sexy Funky Filthy House

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center