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