In the current minimal example ( http://jsfiddle.net/twPHW/ ):
<div style="overflow: hidden; height: 24px;">
<table>
<thead>
<tr>
<td style="background-color: rgb(109,173,157);">foo</td>
</tr>
</thead>
<tbody>
<tr>
<td style="background-color: rgb(236,222,117);">bar</td>
</tr>
</tbody></table>
</div>
The cell "foo" is the only one visible. Then, if I do Ctrl-F (find the function in the browser) and start typing "bar", the table inside the div will go up (for example, if its top changes) to show the user the matched element.
I want to be able to search for a “bar” through a search function, but I want to handle this layout modification through javascript.
, "find" . , . Chrome Mutation Observer, . ?