Obtain target frames when loading a URL

Annie765 <[email protected]>
Newsgroups gmane.comp.mozilla.devel.embedding
Message-ID <[email protected]>
Hi,

I have a web page with an IFrame in it, and an Anchor element which loads
content in this IFrame:
** a href="http://www.yahoo.com"  target="iframe1" **

When the user clicks on this anchor element, I would like to know whether
the content is about to be loaded in the iframe, or in the parent page
(which contains the iframe).
i.e, I should have the target of the page.

If working with Internet Explorer, there’s an option to do this by using
TargetFrameName parameter of BeforeNavigate2() event  . 
This parameter contains the name of the frame in which to display the
resource, or NULL, if no named frame is targeted for the resource.
http://msdn.microsoft.com/en-us/library/aa768280%28VS.85%29.aspx

Is there such an option when using Mozilla? 

Thanks!

-- 
View this message in context: http://old.nabble.com/Obtain-target-frames-when-loading-a-URL-tp29473052p29473052.html
Sent from the Mozilla - Embedding mailing list archive at Nabble.com.

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.