I have a site that uses 3 frames (top, middle and bottom section). The top and bottom section load html pages from the original server. The middle section loads a html page from another server. So far no problems.
However in the html file that is loaded from the external server I need to pop-up a window. Apparently it is not aloud to pop-up windows within frames that load an external URL (security issues).
I’m not that good at Javascript and besides this page has not originally been developped by me (frames are not exactly great). However I looked around and it seems that I have to use enableExternalCapture() and captureEvents(). In my search I found these few words on the matter which I pasted below:
“When a window with frames wants to capture events in pages loaded from different locations (servers), you need to use captureEvents in a signed script and precede it with enableExternalCapture. You must have the UniversalBrowserWrite privilege.”
Basically I have no idea how to construct a valid Javascript code that will allow me to open a pop-up window in a frame loading an external URL. I hope anyone will be able to help me. Thanks in advance.