You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.


TOC PREV NEXT INDEX

Embedding Gecko API


nsIWebBrowserFindInFrames


This interface controls how Find behaves when multiple frames or iframes are present. The embedder can get one by QI from nsIWebBrowserFind. This interface is scriptable.

Attributes
attribute nsIDOMWindow nsIWebBrowserFindInFrames::currentSearchFrame

Sets the frame at which to start the search. Once the search is done, this will be set to the last frame searched, whether or not a result was found. Has to be equal to or contained within the rootSearchFrame.

attribute nsIDOMWindow nsIWebBrowserFindInFrames::rootSearchFrame

Sets the frame within which to confine the search (normally the content area frame). This can be used to limit the search to a subtree of the frame hierarchy.

attribute boolean nsIWebBrowserFindInFrames::searchSubframes

Sets whether to recurse down into subframes while searching. The default value is TRUE. Setting nsIWebBrowserfind.searchFrames to TRUE sets this to TRUE.

attribute boolean nsIWebBrowserFindInFrames::searchParentFrames

Sets whether to allow the search to propagate out of the currentSearchFrame into its parent frame(s). Search is always confined within the rootSearchFrame. The default value is TRUE. Setting nsIWebBrowserfind.searchFrames to TRUE sets this to TRUE.


Written by:Ellen Evans | Comments, questions, complaints? Bug 143387
TOC PREV NEXT INDEX