Categories:
Author:
Current version:
0.1a
About It:
Get it:
Rate it:
Flag it:
If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!
etz_hilite
Highlights search terms inside your pages.
Usage:
- Wrap the part of the page you want to highlight between
<txp:etz_hilite>
and</txp:etz_hilite>
. - Put
span.etz_hilite {color: yellow;}
or whatever in your CSS.
Additional options:
- class defaults to “etz_hilite”
Known bugs/limitations:
- Does not support multibyte encodings (including Unicode) yet.
- Ignores quotes in search terms.
- Only supports Google and Textpattern’s own search for the moment.
Notes:
Currently it’s of little use to me because it doesn’t support UTF-8, but it should be usefult to you that use 100% Latin scripts. I plan to extend its functionality in the future. Feedback is most appreciated.
Initially released:
May 22, 2005
Posted here:
22 May 2005