Jump to content

Button that opens Popup and changes parent url?


Gutspiller

Recommended Posts

Hopefully the title wasn't too confusing. Tried to give it some detail. Basically is what I happening right now is I have a flash game running in the main browser window. I have a button on that page, that when clicked opens a popup with the flash game running in full screen. The problem with this is that the flash game continues to run in the parent window as well as the popup.

 

I want it so that when the fullscreen button is clicked that the parent window goes to a default page that has no flash game on it, or goes back to the sites frontpage, while the popup continues to open the flash game in the fullscreen popup.

 

Can anybody help me with how to do this? Unfortunately I know very little coding and would need something that was a step step of what to do or the exact code that I could copy and paste into my site.

 

Here's an example of the type of page I'm talking about:

http://www.arcadeupload.com/arcade/showphoto.php/photo/920/limit/views

 

Can anybody please help me with this so I can give this feature a little bit more polish?

 

I'd appreciate any help somebody can give me.

 

Thank you!

Link to comment
Share on other sites

Where exactly do I put that? Do I put it within this code?

 

<!-- Begin
function popUpSMALLER(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=348,height=261,left = 466,top = 349.5');");
}
// End -->

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.