1.0.4 β’ Published 2 years ago
table-highlight v1.0.4
π Table Highlight
- ν μ΄λΈ(Table)μμ κ²μμ΄(Search Text)λ₯Ό μ°Ύμ κ°μ‘° νμν©λλ€.
- Locate and highlight the search term in the table.
π·οΈ κΈ°λ₯(Function)
π‘ μ¬μ© μμ (Usage Example)
μμ (Example)
<input type="search" placeholder="Search..." title="search" oninput="rowHighlight(this.value,'#TableBody','tr','#0AA1DD','#FFF')">
λ§€κ° λ³μ μ€λͺ (Parameter Description)
<input type="search" placeholder="Search..." title="search" oninput="rowHighlight({0},{1},{2},{3},{4})">
- {0} : HTML
<input>
Tag Value(Search Text) - {1} : HTML
<table>
Or<tbody>
Tag ID - {2} : HTML
<tr>
Tag - {3} : Background Color(Hex color codes)
- {4} : Foreground Color(Hex color codes)
Row Highlighting
- λ€μ μμ λ₯Ό μμ (Example)λ₯Ό μ°Έκ³ νμΈμ.
Text Highlighting
- μ°ΎμΌλ €λ κ°μ
<td>
νκ·Έ μ<div>
νκ·Έμ ν¬ν¨ν΄μΌν©λλ€. - To use this feature, you must have the value you want to find in the
<div>
tag.
<tr>
<td>
<div>Rudyard Vaughn</div>
</td>
<td>
<div>(127) 180-6271</div>
</td>
<td>
<div>sapien@google.ca</div>
</td>
<td>
<div>539-5771 Aliquet Av.</div>
</td>
<td>
<div>Connacht</div>
</td>
<td>
<div>Indonesia</div>
</td>
</tr>
π λΈλΌμ°μ μ§μ(Browser Support)
Chrome | Microsoft Edge | Firefox |
---|---|---|
Latest β | Latest β | Latest β |
π μ 보(Information)
ποΈ μ μ(Author)
- yeong-hyeon-kim β codechemi@gmail.com
βοΈ λΌμ΄μΌμ€(License)
λ€μ λΌμ΄μΌμ€λ₯Ό μ€μνλ©° Licenseμμ μμΈν μ 보λ₯Ό νμΈν μ μμ΅λλ€.
You comply with the following licenses and can find more information in the License
π λΉκ³ (Remark)
- λ¬Έμμ¬ν(Issues)μ μ΄κ³³μ μ°Έκ³ ν΄μ£ΌμΈμ.