A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Load into popup

  1. #1
    Senior Member [SH]Doc's Avatar
    Join Date
    May 2002
    Location
    Belgium
    Posts
    149

    Load into popup

    Hey, I have a portfolio site and I want to load my work into popups.
    That's not that hard you say, I agree, but I don't want that every time the user clicks on another one of my works, a new popup opens, because then, well... then we'll be having 20 popups which isn't exactly userfriendly.

    So what I want to do is, I either want to load all the works into one popup (which has to be resized every time a work is clicked) or I want to close the previous popup every time another one of my works is clicked (but then I don't want to receive any notifications from IE stating that "the browser is trying to close the window, blahblah" )


    This is the site I'm talking about.

    Thanks in advance
    To accomplish great things, we must dream as well as act.
    - Anatole France

  2. #2
    Senior Member [SH]Doc's Avatar
    Join Date
    May 2002
    Location
    Belgium
    Posts
    149
    Okay, it seems it automatically opens in the same pop-up, but that leads me to yet another problem...

    The works aren't the same size, but the popup always stays the same size, so I'm looking for a way to update the popup if the button is clicked...

    this is the code I'm using
    Code:
    getURL("javascript:NewWindow=window.open(\'Port/Matrix.htm\',\'newWin\',\'width=500,height=350,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No\');  NewWindow.focus();      void(0);", "");
    (I've tried to set resizable to "Yes", didn't work)

    This is what I mean... go to the portfolio section and press the first button on the first row, after that press the first button on the second row (the others don't work yet).
    To accomplish great things, we must dream as well as act.
    - Anatole France

  3. #3
    Senior Member [SH]Doc's Avatar
    Join Date
    May 2002
    Location
    Belgium
    Posts
    149
    Okay, so... basically, I've found a way to do it.
    It's described here

    The problem is, that only works with images, not with flash files.
    So I've tried to modify it to also show flashfiles.

    Index
    popup
    popupflash

    If somebody could pls check that out for me, I'm not all that good at JavaScripting
    To accomplish great things, we must dream as well as act.
    - Anatole France

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