Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
Current version:
0.1a
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
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:

  1. Wrap the part of the page you want to highlight between <txp:etz_hilite> and </txp:etz_hilite>.
  2. 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.

Article Request Count:
Initially released:
May 22, 2005
Posted here:
22 May 2005
Article modified:
01 Dec 2005

You may want to leave your comments/questions at the Forum thread for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern