473,809 Members | 2,724 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

open window problem from flash inside a frame


Hi, I have a curius problem, I hava a flash in a html page. In flash I have
a button to open a pop up with this code:

getURL
("javascript:vo id(window.open( 'http://www.onePage.com ','popwindow',' status=y
es,scrollbars=y es,width=800,he ight=450,resiza ble=yes'))");

this works perfect always, but now when the page is inside a frame it
doesn't work, doing nothing.

I have tried with:

window.parent.o pen
window.top.open

calling a function like: "brOpenWind ow" declared in the html file

But nothing works, nevertheless I put the same code in the html file and it
works, but in Flash no, but in flash without frames yes !!!

can anybody help me??

Thanks
Mar 24 '06 #1
1 3657
Alejandro Vidal wrote:
Hi, I have a curius problem, I hava a flash in a html page. In flash I have
a button to open a pop up with this code:

getURL
("javascript:vo id(window.open( 'http://www.onePage.com ','popwindow',' status=y
es,scrollbars=y es,width=800,he ight=450,resiza ble=yes'))");

this works perfect always, but now when the page is inside a frame it
doesn't work, doing nothing.
Well, I tried and it works.
I have tried with:

window.parent.o pen
window.top.open


No need for that. As I said, it should open from the GetURL.
Perhaps it's something wrong in your frameset?
Mar 25 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3244
by: Joe | last post by:
In the following code, page1.asp is inside the frame of main.html. When the user click submit button in page1.asp, it will submit the for and open a new window called page2.asp. When the user clicks submit button on page2.asp, I expected to open a new window called page3.asp Unfortunately, it just open page3.asp in the same window as page2.asp, an now page2.asp is gone. However, if I just open page1.asp, and begins from there, it is fine...
5
8497
by: Jeff Stewart | last post by:
It seems that whenever I pass window.open() a relative URL, it fails. The following shows up in the Netscape Javascript Console: Error: " nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost/dwm/container.html :: preloader_DoFSCommand :: line 48" data: no] Source File: http://localhost/dwm/container.html Line: 48
2
2847
by: Matt | last post by:
In the following code, page1.asp is inside the frame of main.html. When the user click submit button in page1.asp, it will submit the form and open a new window called page2.asp. When the user clicks submit button on page2.asp, I expected to open a new window called page3.asp. Unfortunately, it just open page3.asp in the same window as page2.asp, and now page2.asp is gone. However, if I just open page1.asp, and begins from there, it is...
1
1451
by: stef | last post by:
hi i ve got a problem that is driving me mad all afternoon i have flash site embedded in html and as i don t want to display the url (i ve got my reasons for that) i have built a single frame frameset from within flash i use window.open it works fine offline
4
5041
by: catyionic | last post by:
Greetings: I have numerous links on index.html...example of one..... <A HREF="stage.html#Flash" target="left">Flash</A> It connects to page named stage.html ... which contains... <a name="#FLASH">Flash ...</a></td> It presents the data in the middle of index in an Inline frame. It works real well, looks good, but everytime the link is clicked, the
3
2131
by: CW | last post by:
I have written a chat program using asp.net. It basically has a hidden frame that's constantly refreshed and uses document.write to write new messages to the chat transcript frame. Because chat windows can be obscured either by other browser windows or other applications altogether on the desktop, I am trying to find a way to notify user that a new message has arrived, yet do it unobtrusively. I have currently used window.focus method...
18
3355
by: len.hartley | last post by:
Hi, I am trying to pop-up a window when the user clicks on an image. The problem is that when the user clicks on the image and the window pops up OK, but the window underneath also proceeds to the image. The desired behavior is that when the pop-up is invoked, I want the underlying window to stay put. I don't have this problem when I run the code on my local computer but I do have it when I run the code on geocities.
6
18239
by: mistral | last post by:
what is correct way open a PDF document in new window use hyperlink? I want show images thumbnails linked with PDF files, when click on thumbnail, PDF will be opened in new window. Some of PDF files are in the same web server, other are in a remote location. Any help will be appreciated.
0
1003
by: Anish Chapagain | last post by:
Hi!! I'm trying to program an application which have multiple windows and is capable of executing method defined inside class of one another, i tries a simpel frame work here and am creating Toplevel inside method as the new window to be genereated, and again want another window to be loaded when the widget inside toplevel is executed as necessary..but am feeling lost to either create a class for such new window or write function again.....
0
10633
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10375
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10114
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9198
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7651
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6880
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5548
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5686
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3860
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.