content top

How to highlight terms on your page using jQuery

Today I came across a really useful plugin for jQuery that allows you to highlight specific terms on your page. This can happen when the document first loads or can be triggered as part of an action (example: a link or button being clicked). The plugin works by attaching a css class that specifies a background-colour to the term specified..and the best part about this plugin? It weighs in at only 1kb for the compressed version and 2kb for the full uncompressed source. It could definitely come in useful sometime ;)

To see a demo of the plugin or download the source, click here

Bookmark and Share
Share

Related posts:

  1. jQuery Site-in-a-page with bookmarkable sections [Twitter API + Flickr API + Last.fm API] Here’s a new jQuery concept project that demonstrates how...
  2. How to add custom missing image holders using jQuery We’ve all experienced the dreaded "red cross in a box"...
  3. How to create animated Skype-style buttons using jQuery  Hey guys. If you’re a frequent user of Skype I’m...
  4. How to add a password strength meter using jQuery in under 5 minutes Hi guys. Today I’m going to show you how...
  5. How to override jQuery Event Handlers An interesting problem that I came across today was figuring...

Related posts brought to you by Yet Another Related Posts Plugin.

No Comments »

No comments yet.

RSS feed for comments on this post.

Leave a comment