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!

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 -->

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.