A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: java pop-up with pic

  1. #1
    Junior Member
    Join Date
    Feb 2001
    Posts
    25
    Hi:

    How do I popup a java window with a pic in it? I put this on a button but, it didn't work.

    javascript:window.open('http://www.208.13.77.187/haven.jpg','NameofWindow','width=300,height=300,to p=0,left=0,scrollbars=no'); void(0);

    also is there anyway to make the window popup in a certain spot on the screen like upper right corner?

    thanks so much!

  2. #2
    Former Employee of Satan Napalm's Avatar
    Join Date
    May 2000
    Location
    Stellenbosch, South Africa
    Posts
    561
    on (press) {
    getURL ("javascript:window.open('http://www.208.13.77.187/haven.jpg','NameofWindow','width=300,height=300,to p=0,left=0,scrollbars=no'); void(0);");
    }

  3. #3
    Junior Member
    Join Date
    Feb 2001
    Posts
    25
    hey Napalm:

    That's what I did, it didn't work. Could the server have been down?

    thanks

  4. #4
    Former Employee of Satan Napalm's Avatar
    Join Date
    May 2000
    Location
    Stellenbosch, South Africa
    Posts
    561
    Try putting the jpg into a html doc. Your code is exactly the same as what I used in a presentation.

    If that doesn't work the server might be down, or the IP you're using is an Internal IP

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