This is a discussion on "Open URL in Previous Browser" within the Flash & Multimedia Forum section. This forum, and the thread "Open URL in Previous Browser are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Open URL in Previous Browser
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Open URL in Previous Browser
On my page, I have a link to a virtual catalog that I am working on. Once the user clicks on the catalog it opens in a new window. When viewing the catalog the user can click on any of the images which in turn is suppose to redirect to a different browser window to go to that page. As of right now, I am using the
GetUrl("http://ToThePage.com","_blank"); which opens a new browser window. What I would like to do is to have the flash document redirect the request back to the original browser that had made the request for the flash document in the first place. So if I start with browser A and clicking a link in that browser opens browser B which has an embedded flash document, I would like the flash document to redirect the GetUrl back to browser A. Thanks, Kneale |
|
|
|
|||
|
Re: Open URL in Previous Browser
Did you Name browser A?
You can reference it that way, Target "Browser_A" But you have use Javascript it to bring it to front. Hope that helps. |
|
|||
|
Re: Open URL in Previous Browser
I did a little research and I added the following code to browser "A".
<SCRIPT TYPE="text/javascript"> <!-- window.name = 'PageFlip'; //--> </SCRIPT> and in the action script I am using GetUrl("http://ToThePage.com","PageFlip"); When I run in IE I do not have any problems but when I run in Mozilla or Firefox a new page opens each time. Kneale |
|
|||
|
Re: Open URL in Previous Browser
I figured it out. When using Firefox, the domain name of the flash document has to be the same domain name of the name window. I had browser A on my local machine and browser B on the network.
Kneale |
|
|||
|
Re: Open URL in Previous Browser
Well that makes sense.
Have a nice day. |
|
||||
|
Re: Open URL in Previous Browser
The proper way is to use "window.opener" (window object pointing to the originating window)
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
![]() |
| Tags |
| previous browser, url in browser |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Open in a New Browser Window | Berk Bonebonce | Web Page Design | 11 | Feb 10th, 2008 21:35 |
| try to open php and asks if i want to open or save file | steven rowlands | PHP Forum | 6 | Feb 20th, 2007 21:42 |
| open new browser window | snappy | Web Page Design | 4 | Nov 3rd, 2006 17:49 |
| Open Browser Window | Galaxyblue | Web Page Design | 11 | Feb 14th, 2004 18:37 |