startFind( mode )
- Return type: no return value
- Call this method to handle your application's "find" command. This opens the
findbar, focuses the edit field for the search term, and selects its contents. The first time this is called for a given findbar, the findbar will flash to draw attention to itself. The mode should be one of
FIND_LINKS. If you don't pass a mode, the last-used mode for the same findbar is used. If the findbar hasn't been used before,
FIND_NORMALis the default.
Typically, you'll simply bind this method to your "find" command, like this:
<command name="cmd_find" oncommand="gFindBar.startFind(gFindBar.FIND_NORMAL);"/>