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-tp29473032p29473032.html Sent from the Mozilla - Embedding mailing list archive at Nabble.com. _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding