dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Pop-up window via javascrip in "OpenURL"

  1. #1
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244

    Post popup window in OpenUrl action via javascript!!!!

    Guess what you can put javascript in an OpenURL action.

    3dfa is does limit the amout of data you can place here but this works (support, can we have an OpenURL action in the javascript element please?)

    javascript:NewWindow=window.open('http://websiteURL/yada.html','newWin','width=900,height=600,left=0,t op=0,toolbar=No,location=No,scrollbars=auto,status =No,resizable=Yes,fullscreen=no'); NewWindow.focus(); void(0);");

    the void(0); is needed so that you don't get a weird blank page in the original page.

    If I could only get around to using every neat trick I keep finding......
    [Edited by blanius on 04-02-2002 at 11:49 PM]

  2. #2
    Senior Member
    Join Date
    Jul 2001
    Posts
    173
    Ahhh, those features just keep on coming - javascript in the OpenURL action? yes, of course we put that in there

    OpenURL inthe javascript - see what we can do.

    Regards

  3. #3
    Junior Member
    Join Date
    Jan 2002
    Location
    Londonderry, NH
    Posts
    27
    I wasn't able to get this to work...can you look at it again?
    I keep getting an error: "Function not found: void"

  4. #4
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244

    typo

    Originally posted by ocabeza
    I wasn't able to get this to work...can you look at it again?
    I keep getting an error: "Function not found: void"
    sorry little typo is all

    javascript:NewWindow=window.open('http://yourpage.html','newWin','width=900,height=600,left =0,top=0,toolbar=No,location=No,scrollbars=auto,st atus=No,resizable=Yes,fullscreen=no'); NewWindow.focus(); void(0);

    just tested this in explorer 5.5


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