A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: new window script don't work

  1. #1
    Junior Member
    Join Date
    Jun 2002
    Posts
    14
    hello, i try to make script for livemotion 2 that open a new window and load a html-site.

    this is my code.
    getURL("javascript:{window.open('tour.html','windo wName','width=640,height=480,resizable=yes')('','_ blank','menubar=0,location=0,toolbar=0,personalbar =0,status=0,scrollbars=0')}");


    it doesn't run. whats wrong?

    thanks.
    matthias

  2. #2
    Member
    Join Date
    Feb 2001
    Posts
    46
    You want a sized window, correct?

    Try this instead:

    getURL("javascript:var myWin = window.open('tour.html','windowName','width=640,he ight=480,resizable=yes')");

    You don't need to specify attributes that will not be in the window, such as menubar, location, etc.

    Hope it helps,
    -Joe

  3. #3
    Junior Member
    Join Date
    Jun 2002
    Posts
    14

    thats it

    yes thats it. you are my hero.
    thanks a lot.

    you can check the site in ca. 2 weeks
    http://www.cafedelsol.de

    greatings
    matthias

  4. #4
    Member
    Join Date
    Feb 2001
    Posts
    46
    Nice work, Matthias!

    Cheers,
    -Joe

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