dcsimg
A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Pop Up Window Help

  1. #1
    Member
    Join Date
    Aug 2003
    Posts
    50

    Pop Up Window Help

    Hi.
    I use the following code to launch a jpeg in pop up window:

    on (release) {
    getURL("javascript:NewWindow=window.open('goodnigh t.jpeg','ba1','width=436,height=273,left=0,top=0,t oolbar=No,location=No,scrollbars=No,status=No,resi zable=No,fullscreen=No'); NewWindow.focus(); void(0);");
    }


    The pop up window opens but insteaof the jpeg i get the common message of "page cannot be displayed". Any ideas?

  2. #2
    Senior Member studioqtopia's Avatar
    Join Date
    Nov 2003
    Location
    California
    Posts
    582
    could it be that u have a space btw the goodnight. and jpeg?
    u should also use the .jpg extention not .jpeg

    sean

  3. #3
    Member
    Join Date
    Aug 2003
    Posts
    50
    Thanks mate. at least now the image is loaded....

  4. #4
    Member
    Join Date
    Aug 2003
    Posts
    50
    Anything we can do to eliminate the margins appeared to the popup window?

  5. #5
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Don't load the .jpg directly, but in an html, in which you'll add "margin" stuff in the body tag.

  6. #6
    Member
    Join Date
    Aug 2003
    Posts
    50
    That's great!! thanks dude...

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